FSharpLint icon indicating copy to clipboard operation
FSharpLint copied to clipboard

Enable using object members in the custom hints

Open Krzysztof-Cieslak opened this issue 7 years ago • 1 comments

TBF, not sure if it's just not documented and I'm doing something wrong, or it's just not supported yet.

I'd like to define hints based on members usage, not only module functions. For example warning for x.Value (where x is an option)

Krzysztof-Cieslak avatar Jul 20 '17 21:07 Krzysztof-Cieslak

Yep, currently not supported unfortunately. The hint matching is doing very little type checking at the moment, would be very nice to have type constraints like that in the hints for instance members

duckmatt avatar Aug 20 '17 22:08 duckmatt