-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Sema: Use getAllMembers() from collectVisibleMemberDecls() #67005
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
Sema: Use getAllMembers() from collectVisibleMemberDecls() #67005
Conversation
58e6a61
to
62a1133
Compare
@swift-ci Please smoke test |
62a1133
to
dea7f7c
Compare
@swift-ci Please smoke test |
@@ -1941,7 +1941,6 @@ SwiftDeclCollector::constructConformanceNode(ProtocolConformance *Conform) { | |||
Conform->forEachTypeWitness( | |||
[&](AssociatedTypeDecl *assoc, Type ty, TypeDecl *typeDecl) -> bool { |
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.
Should lambda type annotations be removed as well since it doesn't return bool anymore? Here and other places as well =]
[&](AssociatedTypeDecl *assoc, Type ty, TypeDecl *typeDecl) -> bool { | |
[&](AssociatedTypeDecl *assoc, Type ty, TypeDecl *typeDecl) { |
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.
Oops, no idea why that didn't cause a compile error. Thanks!
dea7f7c
to
d1fca44
Compare
@swift-ci Please smoke test |
1 similar comment
@swift-ci Please smoke test |
I had to disable typo correction in one test case to get it to pass without diagnosing a cycle as a result of Sendable checking. But that's OK, because: - Sendable checking is prone to request cycles and needs to be redesigned - Typo correction is turned off in production
d1fca44
to
89ad597
Compare
@swift-ci Please smoke test |
No description provided.