Skip to content

[mono] Disable partial generic sharing for gparams with non-enum constraints. - #59437

Merged
vargaz merged 1 commit into
dotnet:mainfrom
vargaz:gshared-enum-constraint
Nov 14, 2021
Merged

[mono] Disable partial generic sharing for gparams with non-enum constraints.#59437
vargaz merged 1 commit into
dotnet:mainfrom
vargaz:gshared-enum-constraint

Conversation

@vargaz

Copy link
Copy Markdown
Contributor

No description provided.

@ghost

Copy link
Copy Markdown

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@vargazvargaz added the arch-wasm WebAssembly architecture label Sep 22, 2021
@ghost

Copy link
Copy Markdown

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

null

Author:vargaz
Assignees:-
Labels:

arch-wasm

Milestone:-

@lewing

Copy link
Copy Markdown
Member

@vargaz failures look potentially related

@vargaz
vargazforce-pushed the gshared-enum-constraint branch from 87da8e3 to 61375c4CompareSeptember 23, 2021 23:14
@vargazvargaz added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Sep 24, 2021
@runfoapprunfoappBot mentioned this pull request Sep 24, 2021
@vargaz
vargazforce-pushed the gshared-enum-constraint branch from 61375c4 to 7711006CompareSeptember 25, 2021 01:47
…traints.
If a generic argument is a primitive type, and it has an interface constraint
that enums don't implement, then partial sharing for that instance is not
useful, since only the specific primitive type instance will be able
to use the shared version.
Fixesdotnet#54910.
@vargaz
vargazforce-pushed the gshared-enum-constraint branch from 7711006 to ab8e992CompareNovember 11, 2021 21:53
@vargazvargaz removed the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Nov 13, 2021
@vargaz

Copy link
Copy Markdown
ContributorAuthor

There are no more failures, either they got fixed, or the failing lane was disabled:
runtime (Mono llvmfullaot Pri0 Runtime Tests Run Linux arm64 release)

@lewing

Copy link
Copy Markdown
Member

cc @steveisok for test data

@steveisok

Copy link
Copy Markdown
Member

We should merge and let the runtime tests run on the rolling build.

@vargaz
vargaz merged commit edd6467 into dotnet:mainNov 14, 2021
@vargaz
vargaz deleted the gshared-enum-constraint branch November 14, 2021 02:31
@am11

am11 commented Nov 14, 2021

Copy link
Copy Markdown
Member

There are no more failures, either they got fixed, or the failing lane was disabled

This is because tests are disabled, opened: #61564. :)

@ghostghost locked as resolved and limited conversation to collaborators Dec 14, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasmWebAssembly architecturearea-Codegen-JIT-mono

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@vargaz@lewing@steveisok@am11@imhameed@marek-safar