Skip to content

Fix Builtin.FixedArray type reconstruction and change integer type mangling #77273

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 3 commits into from
Oct 29, 2024

Conversation

Azoy
Copy link
Contributor

@Azoy Azoy commented Oct 29, 2024

We forgot to implement type decoder support for Builtin.FixedArray, so this patch adds that support which fixes type mangling round tripping. Also, the current integer type mangling can sometimes appear before other naturals in the mangling which creates an ambiguity, e.g. $415Synchronization where the integer type is $4 and 15Synchronization is the module name. Change the mangling to use the index mangling instead so that it'd be $3_15Synchronization.

Resolves: rdar://138798183

@Azoy
Copy link
Contributor Author

Azoy commented Oct 29, 2024

@swift-ci please test

@Azoy Azoy merged commit 008e6ee into swiftlang:main Oct 29, 2024
5 checks passed
@Azoy Azoy deleted the fix-builtin-array-reconstruct branch October 29, 2024 23:46
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