Skip to content

[ASTDumper] Special handling for init kind in pre-typecheck dump #61863

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

LucianoPAlmeida
Copy link
Contributor

From my current understanding, when dumping ConstructorDecl in pre-typechecked AST there is not enough information about extended nominal(as bindExtensions is done at typechecking) for getInitKind which has rules based on that extended nominal to compute the kind, so in that dump-parse case, just look to parsed attribute in init declaration.

Resolves #61806

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please smoke test

1 similar comment
@CodaFi
Copy link
Contributor

CodaFi commented Nov 2, 2022

@swift-ci Please smoke test

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please smoke test

@xedin
Copy link
Contributor

xedin commented Dec 16, 2022

@swift-ci please test

@LucianoPAlmeida LucianoPAlmeida merged commit 0db4b43 into swiftlang:main Dec 16, 2022
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.

Compiler crash when dump-parse for init in extension declaration context
3 participants