ionide/tree-sitter-fsharp

Function application inside sequential expression fails to parse

Closed this issue · 0 comments

Relates to #17.

Following an application expression with another expressions makes the whole block fail to parse.

let ignore f x =
  f x
  ()

This issue is caused by the definition of infix expressions, which allow for an optional $._virtual_decl_end token, which tricks the parser into a state where it can no longer build a sequential expression.