update definition of Deferred.t
It is now Async_kernel.Deferred0.t. Fixes #137
This commit is contained in:
parent
d1419acbb7
commit
2a8762c0f7
|
@ -478,8 +478,15 @@ let () =
|
||||||
);
|
);
|
||||||
enabled = UTop.auto_run_async;
|
enabled = UTop.auto_run_async;
|
||||||
} in
|
} in
|
||||||
Hashtbl.add rewrite_rules (Longident.parse "Async_core.Ivar.Deferred.t") rule;
|
let deferred_aliases =
|
||||||
Hashtbl.add rewrite_rules (Longident.parse "Async_kernel.Ivar.Deferred.t") rule
|
[ "Async_core.Ivar.Deferred.t"
|
||||||
|
; "Async_kernel.Ivar.Deferred.t"
|
||||||
|
; "Async_kernel.Deferred0.t"
|
||||||
|
]
|
||||||
|
in
|
||||||
|
List.iter (fun s ->
|
||||||
|
Hashtbl.add rewrite_rules (Longident.parse s) rule)
|
||||||
|
deferred_aliases
|
||||||
|
|
||||||
(* Returns whether the argument is a toplevel expression. *)
|
(* Returns whether the argument is a toplevel expression. *)
|
||||||
let is_eval = function
|
let is_eval = function
|
||||||
|
|
Loading…
Reference in New Issue