G-Research / fsharp-analyzers

Analyzers for F#
https://g-research.github.io/fsharp-analyzers/
Apache License 2.0
14 stars 1 forks source link

Add TypeAnnotateStringFunction analyzer. #34

Closed nojaf closed 7 months ago

nojaf commented 7 months ago

This one is a little tricky and won't work in some more extreme situations. If someone were to alias the string from FSharp.Core it will go unnoticed. I think this is a reasonable trade-off.

Please already review @dawedawe. I will look into the ToString() in a different PR.