-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Remove Type Body Fingerprints Flags #34151
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
Conversation
This infrastructure has more than proven itself. Drop the code paths and tests supporting the status quo.
@swift-ci test |
@swift-ci test source compatibility |
Build failed |
In order for type body fingerprints to work, these declarations must always be included. Drop the ability to turn this off.
@swift-ci test |
Excellent! Can you file a radar for the code completion thing? |
Build failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from my "this looks suspicious" comment, it looks fine!
@@ -4587,7 +4592,7 @@ Parser::parseDeclList(SourceLoc LBLoc, SourceLoc &RBLoc, Diag<> ErrorDiag, | |||
if (RBLoc.isInvalid()) | |||
hadError = true; | |||
|
|||
if (!Context.LangOpts.EnableTypeFingerprints) | |||
if (L->isCodeCompletion()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks suspicious, because the predicate on line 4559 is different. Should this one be the same?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My guess is that previously code completion had EnableTypeFingerprints disabled, so this brings back the old behavior but only when performing code completion. I already suggested Robert file a radar to investigate this further in my review above.
@swift-ci test Linux |
rdar://69890297 |
⛵ |
I removed the implementation in swiftlang#34151
Remove the staging flags for type body fingerprints.