Open realvictorprm opened 5 years ago
The F# language specification doesn't say anything either way about this, but yes it would make sense to warn like C# does
The warning can easily be improved without effecting inference. Should I open a PR with my proposal?
The warning can easily be improved without effecting inference. Should I open a PR with my proposal?
Yes sure
Thank you. Will do this 😃
The compiler isn't warning about that the member
Foo
ofDerivedDerived
is hiding the memberFoo
ofDerived
. It's only warning thatFoo
ofDerived
is hidingFoo
ofBase
.Expected behavior
Compiler warns that
DerivedDerived
is hiding a member ofDerived
.Actual behavior
No warning.
Known workarounds
None
Related Information
F# 4.5