Operators can appear in the exp normal form
This commit is contained in:
parent
1a829ea4e0
commit
9b18eb71a4
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ let add context expected_kind ({ e_desc = de } as e) =
|
|||
let up = match de, expected_kind with
|
||||
| (Evar _ | Efield _ ) , VRef -> false
|
||||
| _ , VRef -> true
|
||||
| Ecall ({ op_kind = Eop }, _, _), (Exp|Act) -> false
|
||||
| ( Emerge _ | Etuple _
|
||||
| Ecall _ | Efby _ | Earray_op _ ), Exp -> true
|
||||
| ( Ecall _ | Efby _ ), Act -> true
|
||||
|
|
Loading…
Reference in a new issue