Compiler fails with internal error when user forgets the Measure attribute when extending a generic type which requires it #7491
Labels
Area-Diagnostics
mistakes and possible improvements to diagnostics
Bug
Impact-Medium
(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
If you create a generic type which takes a measure type parameter, but forget to add the
Measure
attribute when extending the type, the compiler crashes with an internal error.Repro steps
Expected behavior
The compiler provides the user with a helpful error message explaining the problem.
Actual behavior
The compiler reports an internal error 10 times, then crashes:
Known workarounds
Don't forget the
Measure
attribute!Related information
Related information:
The text was updated successfully, but these errors were encountered: