Improve error message for explicit cast of collection literal to non-generic type #68862
Labels
Area-Compilers
Concept-Diagnostic Clarity
The issues deals with the ease of understanding of errors and warnings.
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
New Feature - Collection Expressions
Milestone
Compile:
Actual Behavior:
Expected Behavior:
Diagnostic above, with suggestion to parenthesize the collection literal if a cast is intended.
See #68793 (comment)
Relates to test plan #66418
The text was updated successfully, but these errors were encountered: