Skip to content

[Swift interop] Add inline array struct lowering tests#107859

Merged
jkurdek merged 2 commits into
dotnet:mainfrom
jkurdek:add-inline-array-tests
Oct 1, 2024
Merged

[Swift interop] Add inline array struct lowering tests#107859
jkurdek merged 2 commits into
dotnet:mainfrom
jkurdek:add-inline-array-tests

Conversation

@jkurdek

@jkurdek jkurdek commented Sep 16, 2024

Copy link
Copy Markdown
Contributor

Both CoreCLR and Mono implement swift struct lowering algorithm for structs with InlineArray. This PR adds missing tests.
Fixes #107857

@jkurdek

jkurdek commented Sep 16, 2024

Copy link
Copy Markdown
Contributor Author

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@matouskozak matouskozak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment about the naming but overall looks good to me! Thank you for catching this.

Comment thread src/tests/Interop/CMakeLists.txt Outdated
@jkurdek jkurdek added this to the 10.0.0 milestone Sep 20, 2024
@jkurdek

jkurdek commented Oct 1, 2024

Copy link
Copy Markdown
Contributor Author

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@jkurdek
jkurdek merged commit d024a5b into dotnet:main Oct 1, 2024
@jkurdek
jkurdek deleted the add-inline-array-tests branch October 1, 2024 15:56
jkurdek added a commit to jkurdek/runtime that referenced this pull request Oct 2, 2024
* [swift interop] Add inline array tests

* Rename test suite
sirntar pushed a commit to sirntar/runtime that referenced this pull request Oct 3, 2024
* [swift interop] Add inline array tests

* Rename test suite
jeffschwMSFT added a commit that referenced this pull request Oct 3, 2024
* Fix lowering support for inline arrays (#107744)

* [Swift interop] Add inline array struct lowering tests (#107859)

* [swift interop] Add inline array tests

* Rename test suite

---------

Co-authored-by: Jeff Schwartz <jeffschw@microsoft.com>
lambdageek pushed a commit to lambdageek/runtime that referenced this pull request Oct 3, 2024
* [swift interop] Add inline array tests

* Rename test suite
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tests for structs with InlineArray attribute

3 participants