Reformatted constant in AST2 to match that of Typecheck2
This commit is contained in:
parent
ea0198388e
commit
3bf5ad2819
8
AST2.ml
8
AST2.ml
@ -79,8 +79,12 @@ module O = struct
|
|||||||
| MapLookup
|
| MapLookup
|
||||||
|
|
||||||
and constant =
|
and constant =
|
||||||
Unit | Int of Z.t | String of string | Bytes of MBytes.t | False | True
|
Unit
|
||||||
| Null of type_expr | EmptySet of type_expr | CNone of type_expr
|
| Int of Z.t | String of string | Bytes of MBytes.t
|
||||||
|
| False | True
|
||||||
|
| Null of type_expr
|
||||||
|
| EmptySet of type_expr
|
||||||
|
| CNone of type_expr
|
||||||
|
|
||||||
and instr =
|
and instr =
|
||||||
Assignment of { name: var_name; value: expr }
|
Assignment of { name: var_name; value: expr }
|
||||||
|
Loading…
Reference in New Issue
Block a user