Skip to content

Fix assertion failure when comparing reconstructed SILBoxTypes. #35861

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
merged 1 commit into from
Feb 10, 2021

Conversation

adrian-prantl
Copy link
Contributor

Substitutions in SILFunctionTypes are not handled by TypeDecoder, by adding
support for SILBoxTypes to replaceSubstitutedSILFunctionTypesWithUnsubstituted()
we can avoid an assertion failure when running the compatibility test suite.

rdar://74153042

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@adrian-prantl
Copy link
Contributor Author

@swift-ci test

Substitutions in SILFunctionTypes are not handled by TypeDecoder, by adding
support for SILBoxTypes to Type::transform()
we can avoid an assertion failure when running the compatibility test suite.

rdar://74153042
@adrian-prantl
Copy link
Contributor Author

Let's see if we could do this directly in transform()...

@adrian-prantl
Copy link
Contributor Author

@swift-ci test

@adrian-prantl adrian-prantl merged commit f0d361a into swiftlang:main Feb 10, 2021
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