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

[aot] Fix the handling of r4/r8 parameter types with attributes during generic sharing. #40498

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

monojenkins
Copy link
Contributor

!! This PR is a copy of mono/mono#20217, please do not edit or review it in this repo !!
Do not automatically approve this PR:

* Consider how the changes affect configurations in this repo,
* Check effects on files that are not mirrored,
* Identify test cases that may be needed in this repo.

!! Merge the PR only after the original PR is merged !!



The attributes need to be ignored as with the other types, otherwise gsharedvt wrappers for signatures with
parameters like double f = default will not be found.

Fixes mono/mono#20195.

…g generic sharing.

The attributes need to be ignored as with the other types, otherwise gsharedvt wrappers for signatures with
parameters like double f = default will not be found.

Fixes mono/mono#20195.
@srxqds
Copy link
Contributor

srxqds commented Aug 7, 2020

should the method get_wrapper_shared_type_reg consider this bug also? https://github.com/mono/mono/blob/1ae5414a2c55d2e71df6c80affb158557929474f/mono/mini/mini-generic-sharing.c#L1343-L1371

@vargaz vargaz merged commit 7281349 into dotnet:master Aug 10, 2020
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
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.

[Wasm] RuntimeError: function signature mismatch (RuntimeError: function signature mismatch)
5 participants