Unexpected FS0812 when property has same name as DU case #16646
Labels
Area-Diagnostics
mistakes and possible improvements to diagnostics
Feature Improvement
Theme-Simple-F#
A cross-community initiative called "Simple F#", keeping people in the sweet spot of the language.
Milestone
Consider this code:
The last line fails to compile with an error on
_.IdA
:I would expect this to compile, since
IdA
is indeed a property.The text was updated successfully, but these errors were encountered: