tree-sitter-fsharp
tree-sitter-fsharp copied to clipboard
Add test cases for deindented function expressions
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