Skip to content

Rid performTypeLocChecking of TypeLoc #33251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2020

Conversation

AnthonyLatsis
Copy link
Collaborator

No description provided.

@AnthonyLatsis AnthonyLatsis requested a review from CodaFi August 2, 2020 00:33
@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please smoke test

@@ -1244,7 +1238,7 @@ bool SILParser::parseSILType(SILType &Result,

// Apply attributes to the type.
auto *attrRepr = P.applyAttributeToType(TyR.get(), attrs, specifier, specifierLoc);
auto Ty = performTypeLocChecking(attrRepr, /*IsSILType=*/true, OuterGenericEnv);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to use the full call in order to propagate TypeResolutionFlags::SILType.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops

Copy link
Contributor

@CodaFi CodaFi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to see this go. Just one comment.

@AnthonyLatsis AnthonyLatsis changed the title Rid performTypeLocChecking off TypeLoc Rid performTypeLocChecking of TypeLoc Aug 2, 2020
@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please smoke test

@CodaFi
Copy link
Contributor

CodaFi commented Aug 4, 2020

@CodaFi CodaFi merged commit b50a2cf into swiftlang:master Aug 4, 2020
@AnthonyLatsis AnthonyLatsis deleted the type-locura-1 branch August 4, 2020 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants