Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht@doc

This commit is contained in:
Christian Rinderknecht 2020-02-25 16:40:23 +01:00
commit d7dd064095

View File

@ -367,7 +367,8 @@ let rec simpl_expression (t:Raw.expr) : expr result =
| EConstr (ConstrApp c) -> ( | EConstr (ConstrApp c) -> (
let ((c, args) , loc) = r_split c in let ((c, args) , loc) = r_split c in
match args with match args with
None -> simpl_tuple_expression [] None ->
return @@ e_constructor ~loc c.value (e_unit ())
| Some args -> | Some args ->
let args, args_loc = r_split args in let args, args_loc = r_split args in
let%bind arg = let%bind arg =