Skip to content
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

SIL: Skip visiting bad extensions in SILSymbolVisitor #77576

Merged

Conversation

tshortli
Copy link
Contributor

When lazy typechecking is enabled, extensions that do not typecheck can make it to TBDGen, which would crash during its AST walk because SILSymbolVisitor tried to dereference the null nominal type for the extension.

Resolves rdar://139320515.

When lazy typechecking is enabled, extensions that do not typecheck can make it
to TBDGen, which would crash during its AST walk because `SILSymbolVisitor`
tried to dereference the null nominal type for the extension.

Resolves rdar://139320515.
@tshortli tshortli requested a review from jckarter as a code owner November 13, 2024 01:30
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli enabled auto-merge November 13, 2024 01:30
@tshortli tshortli merged commit 391277c into swiftlang:main Nov 13, 2024
3 checks passed
@tshortli tshortli deleted the tbdgen-lazy-typecheck-bad-extension branch November 13, 2024 06:04
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