-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Sema] Record a fix about extra parens for computed properties #67042
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
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.
Thank you for fixing the bug! I left one comment inline and please add a test-case from the related Github issue to test/Constraints/pack-expansion-expressions.swift
fac5ffe
to
983cef2
Compare
@xedin I added tests and improved the logic, could you take a look? |
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.
LGTM, thank you! As a follow-up maybe, you could actually improve this check to account for presence of pack archetypes and produce a regular conversion mismatch to address all of the FIXMEs.
@swift-ci please test |
983cef2
to
11562d2
Compare
Use countType and add an additional tuple check Add tests [Sema] Record a fix about extra parens for computed properties
11562d2
to
b1ebd5d
Compare
@swift-ci please test |
@swift-ci please smoke test |
Fixes #66393.