tree-sitter-fsharp icon indicating copy to clipboard operation
tree-sitter-fsharp copied to clipboard

Add test cases for deindented function expressions

Open rynoV opened this issue 10 months ago • 0 comments

The grammar seems to have extra indentation requirements for function expressions, such that expressions after deindented function expression rules fail to parse.

This formatting is the default in fantomas

These are parsed correctly when the rule is indented (before the | _ ->), or when the function expression is wrapped in parens, or with semicolons in between

rynoV avatar Feb 14 '25 22:02 rynoV