syntax(compiler): remove an @EmileRolley's note

This commit is contained in:
EmileRolley 2021-07-09 19:44:55 +02:00
parent 390149c19d
commit 923a90b883

View File

@ -188,8 +188,7 @@ let rec evaluate_operator (ctx : Ast.decl_ctx) (op : A.operator Pos.marked)
match Pos.unmark (evaluate_operator ctx (Pos.same_pos_as (A.Binop A.Eq) op) args) with
| A.ELit (A.LBool b) -> A.ELit (A.LBool (not b))
| _ -> assert false (*should not happen *))
| A.Binop A.Concat, [ A.EArray es; A.EArray es2 ] ->
A.EArray (es @ es2) (* @EmileRolley NOTE: should it keep lazy evaluated or not? *)
| A.Binop A.Concat, [ A.EArray es1; A.EArray es2 ] -> A.EArray (es1 @ es2)
| A.Binop A.Map, [ _; A.EArray es ] ->
A.EArray
(List.map