fsprojects / FSharpLint

Lint tool for F#
https://fsprojects.github.io/FSharpLint/
MIT License
300 stars 73 forks source link

FavourAsKeyword #664

Closed knocte closed 3 weeks ago

knocte commented 6 months ago

Testcases

TestcaseA:

match foo with
| bar when bar = “baz” ->

Should error.

TestcaseB:

match foo with
| “baz” as bar ->

Should not error.

(And QuickFix operation should convert from A to B.)

ribeirotomas1904 commented 1 month ago

working on it