ligo/tools/lsp/squirrel/grammar/camligo
Kirill Kuvshinov 04724a1db2
[LIGO-47] Allow let .. in in lambda body
Problem: In multisig.mligo, else clause on line 36 ends on line 55,
while it should end on line 80. This happens because of incorrect
lambda parsing on lines 42-43. In particular, `let valid, keys = vk`
in lambda body gets parsed as a
`tuple (fun_app "let" "valid") (binary_op "=" "keys" "vk")`, and `in`
is considered as a part of the outer `let`.

Solution: Allow `_program` instead of `_expr` as the lambda body.
2020-09-15 11:22:15 +03:00
..
grammar.js [LIGO-47] Allow let .. in in lambda body 2020-09-15 11:22:15 +03:00
index.js [LIGO-25] Add grammar for ReasonLIGO and move it to squirrel 2020-08-11 13:30:46 +03:00