ligo-vscode syntax error with nested function (CameLIGO)
A nested function results in a syntax error:
let main (a, store : int * int) : operation list * int =
let foo (b : int) : int = b * b in
([] : operation list), foo a
gives Parse error: Unexpected foo