You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh, that's interesting and not what I expected. I thought the problem was that this has an indeterminate type, but it's actually that MyProperty has an indeterminate type.
This will be fixed when I finish #17556. Just need to fix some Editor tests(AutoCompletion etc..) that are really annoying if you do not have a windows machine
Repro steps
Compile the snippet below:
Expected behavior
Either:
The expected error message in the second case would be:
Actual behavior
Compiler error message on
Length
property:This is an incorrect error message, because specifying the type of
this
does not fix the problem:Note that Visual Studio suggests the following fix instead, which also does not work:
Known workarounds
Swap the order of the two members.
Related information
Microsoft (R) F# Compiler version 12.8.401.0 for F# 8.0
The text was updated successfully, but these errors were encountered: