Skip to content

AST: Trigger IsFinalRequest when retrieving semantic attributes #69630

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

Conversation

tshortli
Copy link
Contributor

@tshortli tshortli commented Nov 3, 2023

ASTPrinter already had special logic to handle ensuring that final is printed when necessary, but we can remove that logic and instead ensure that IsFinalRequest runs as part of computing semantic attributes before printing.

ASTPrinter already had special logic to handle ensuring that `final` is printed
when necessary, but we can remove that logic and instead ensure that
`IsFinalRequest` runs as part of computing semantic attributes before printing.
@tshortli
Copy link
Contributor Author

tshortli commented Nov 3, 2023

@swift-ci please smoke test

@tshortli tshortli merged commit 7a61cdf into swiftlang:main Nov 3, 2023
@tshortli tshortli deleted the module-interface-lazy-typecheck-final-attr branch November 3, 2023 16:35
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.

1 participant