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

Switch SwiftSelf<T> position requirement to last #108547

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

jakobbotsch
Copy link
Member

@jakobbotsch jakobbotsch commented Oct 4, 2024

This is added as the last parameter by the Swift compiler, so to support instance calls taking parameters this needs to come last.

Fix #107946

This is added as the last parameter by the Swift compiler, so to support
instance calls taking parameters this needs to come last.
@jakobbotsch
Copy link
Member Author

@jkurdek @kotlarmilos any idea on the Mono crash?

@jkurdek
Copy link
Member

jkurdek commented Oct 4, 2024

I tried reproing the mono failure locally. Both on arm64 and x64. The tests passed without problems. There might be something less obvious going on. I will take another look next week.

@jkurdek
Copy link
Member

jkurdek commented Oct 7, 2024

/azp run runtime-extra-platforms

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

}

[Fact]
public unsafe static void TestSelfIsFrozenNonEnregisteredStructWithExtraArgs()
Copy link
Member

Choose a reason for hiding this comment

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

It seems that this is the test which fails on the CI. So far I have determined that the error also occurs when we use non-generic SwifSelf instead. The error seems to be only occurring on the runtime x64 macos runtime_tests pipeline.

Copy link
Member Author

Choose a reason for hiding this comment

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

I opened #108855 about this and disabled this test against that issue

@kotlarmilos kotlarmilos added this to the 10.0.0 milestone Oct 11, 2024
@jakobbotsch jakobbotsch marked this pull request as ready for review October 14, 2024 16:59
@jakobbotsch jakobbotsch modified the milestones: 10.0.0, 9.0.0 Oct 14, 2024
@jakobbotsch jakobbotsch changed the title JIT: Switch SwiftSelf<T> position requirement to last Switch SwiftSelf<T> position requirement to last Oct 14, 2024
Copy link
Member

@jkurdek jkurdek left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for opening mono tracking issue!

@jakobbotsch
Copy link
Member Author

/backport to release/9.0

Copy link
Contributor

Started backporting to release/9.0: https://github.com/dotnet/runtime/actions/runs/11332643117

@jakobbotsch
Copy link
Member Author

jakobbotsch commented Oct 15, 2024

/ba-g The chrome-DebuggerTests failures look like #108078, but were "dead lettered" so build analysis is not picking it up

@jakobbotsch jakobbotsch merged commit 74857d7 into dotnet:main Oct 15, 2024
163 of 169 checks passed
@jakobbotsch jakobbotsch deleted the fix-107946 branch October 15, 2024 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[swift interop] Cannot call instance methods with at least one parameter when using SwiftSelf<T>
4 participants