where T : class, notnull
error is confusing
#45141
Labels
Area-Compilers
Concept-Diagnostic Clarity
The issues deals with the ease of understanding of errors and warnings.
If you have
where T: class, notnull
, the error is thatnotnull
must come first. If you havewhere T: notnull, class
, the error is thatclass
must come first. We should detect this situation and give a good error.The text was updated successfully, but these errors were encountered: