-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[release/9.0] Fix InlineArray
swift lowering in mono
#108483
[release/9.0] Fix InlineArray
swift lowering in mono
#108483
Conversation
* [swift interop] Add inline array tests * Rename test suite
Tagging subscribers to 'os-tvos': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. we will take for consideration in 9 GA
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
Azure Pipelines successfully started running 1 pipeline(s). |
Runtime is green. extra-platforms failures unrelated. |
Backport of #107744 and #107859 to release/9.0
Customer Impact
In .NET 9 we added swift lowering algorithm to both CoreCLR and Mono backends. This included support for lowering
InlineArray
. The scenario lacked appropriate tests, once we started working on projections we found out that the Mono path is completely broken (runtime crash when attempting to pass struct annotated withInlineArray
).Regression
Testing
New test suite for
InlineArray
lowering. Tests are included in this change.Risk
Low. Only affects swift interop path on mono. Changes are small, easy to reason about and well tested.