Generic constraint comparison
is required despite type being restricted to INumber
(generic math .NET 7)
#14338
Labels
Area-Compiler-SRTP
bugs in SRTP inference, resolution, witness passing, code gen
Needs-RFC
Resolution-By Design
Milestone
Repro steps
Actual behavior
Compilation error:
Expected behavior
Compiles like C# counterpart:
Known workarounds
Add the constraint:
Related information
The text was updated successfully, but these errors were encountered: