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

Implemement default interface methods constrained call corner case #111191

Open
MichalStrehovsky opened this issue Jan 8, 2025 · 1 comment
Open
Labels
area-NativeAOT-coreclr disabled-test The test is disabled in source code against the issue
Milestone

Comments

@MichalStrehovsky
Copy link
Member

Implement the corner case where interface method implemented on a struct is getting constrained-called and the target of the constrained call is compile-time time ambiguous between a method on the struct and a default-implemented method. CoreCLR throws an NotSupportedException, Mono will box when necessary. Implement whatever is more convenient.

See disabled tests referencing this issue.

Copy link
Contributor

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

@MichalStrehovsky MichalStrehovsky added the disabled-test The test is disabled in source code against the issue label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NativeAOT-coreclr disabled-test The test is disabled in source code against the issue
Projects
Status: No status
Development

No branches or pull requests

1 participant