fsprojects / fantomas

FSharp source code formatter
https://fsprojects.github.io/fantomas
Other
758 stars 189 forks source link

Capture then + expr in new node #3075

Closed nojaf closed 2 months ago

nojaf commented 2 months ago

Fixes #3074

The then keyword can really only be used in the secondary constructor. Because sequential nodes can be nested, our previous check was insufficient.