dad9b0f816
Some weeks ago, anonymous functions as expressions were added to PascaLIGO, unfortunately in a manner that allowed in theory for contexts in which a named function was found when an anonymous was expected, and vice-versa. That explains that the simplifier had two new possible errors: * unexpected_anonymous_function ("you provided a function declaration without name") * unexpected_named_function I changed the AST and the parser so that function expressions correspond to anonymous functions (without block) and function declarations correspond to named functions. I also removed a error in the simplifier, which was unused: * bad_bytes ("you provided a function expression with a name (remove it)") |
||
---|---|---|
.. | ||
.ppx_let_generalized | ||
cover.sh | ||
dictionary.ml | ||
dune | ||
dune-project | ||
function.ml | ||
location.ml | ||
logger.ml | ||
messages.sh | ||
ne_list.ml | ||
par_err.sh | ||
pos.ml | ||
pos.mli | ||
PP_helpers.ml | ||
region.ml | ||
region.mli | ||
simple_utils.ml | ||
simple-utils.opam | ||
trace.ml | ||
tree.ml | ||
tuple.ml | ||
var.ml | ||
var.mli | ||
wrap.ml | ||
x_int.ml | ||
x_list.ml | ||
x_map.ml | ||
x_option.ml |