Re enable Initialization
That was easy to fix...
This commit is contained in:
parent
db732621a1
commit
65f1a076d8
2 changed files with 3 additions and 3 deletions
|
@ -231,7 +231,7 @@ and apply h op e_list =
|
|||
| Etuple, _ -> assert false
|
||||
(** TODO: init of safe/unsafe nodes
|
||||
This is a tmp fix so that pre x + 1 works.*)
|
||||
| (Eequal | Efun (Modname { qual = "Pervasives" })), e_list ->
|
||||
| (Eequal | Efun { qual = "Pervasives" }), e_list ->
|
||||
List.fold_left (fun acc e -> itype (typing h e)) izero e_list
|
||||
| _ , e_list ->
|
||||
List.iter (fun e -> initialized_exp h e) e_list; izero
|
||||
|
|
|
@ -44,8 +44,8 @@ let compile_impl pp p =
|
|||
(* Causality check *)
|
||||
let p = silent_pass "Causality check" true Causality.program p in
|
||||
|
||||
(* Initialization check *)(*
|
||||
let p = silent_pass "Initialization check" !init Initialization.program p in*)
|
||||
(* Initialization check *)
|
||||
let p = silent_pass "Initialization check" !init Initialization.program p in
|
||||
|
||||
(* Completion of partial definitions *)
|
||||
let p = pass "Completion" true Completion.program p pp in
|
||||
|
|
Loading…
Reference in a new issue