Closed OceanOak closed 1 month ago
No changelog
This PR adds some tree-sitter-darklang grammar tests, and fixes the following issues: Issue 1:
[ ErrorSegment.ErrorSegment.String "RTETODO typeChecker.toSegments" ]
This was parsed as a list of two elements (an enum and a string literal), rather than a list of one element (an enum with one field)
Issue 2:
let x = 1L |> Stdlib.Option.Option.Some x
The body (x) of the let_expression was parsed as part of the pipe, as if it was a field of the enum.
x
No changelog
This PR adds some tree-sitter-darklang grammar tests, and fixes the following issues: Issue 1:
This was parsed as a list of two elements (an enum and a string literal), rather than a list of one element (an enum with one field)
Issue 2:
The body (
x
) of the let_expression was parsed as part of the pipe, as if it was a field of the enum.