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

[SILGen] Use the opaque element type for address in InlineArray literal #80245

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

Azoy
Copy link
Contributor

@Azoy Azoy commented Mar 24, 2025

Resolves an issue where if you put a closure in the inline array literal, it will emit a non-opaque address to store to, but ArgumentSource always expects to store closure values as completely opaque in memory.

@Azoy Azoy requested review from a team and jckarter as code owners March 24, 2025 17:36
@Azoy
Copy link
Contributor Author

Azoy commented Mar 24, 2025

@swift-ci please smoke test

1 similar comment
@Azoy
Copy link
Contributor Author

Azoy commented Mar 24, 2025

@swift-ci please smoke test

@Azoy
Copy link
Contributor Author

Azoy commented Mar 25, 2025

@swift-ci please smoke test macOS

@Azoy Azoy merged commit 241ffaf into swiftlang:main Mar 25, 2025
3 checks passed
@Azoy Azoy deleted the ia-literal-closure branch March 25, 2025 06:21
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