Skip to content

Commit c39d233

Browse files
committed
Lifused should only appear in ml style oo code
1 parent 1cc2609 commit c39d233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jscomp/core/lam_convert.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ let convert (exports : Set_ident.t) (lam : Lambda.lambda) : Lam.t * Lam_module_i
842842
| Levent _ ->
843843
(* disabled by upstream*)
844844
assert false
845-
| Lifused (_, e) -> convert_aux e (* TODO: remove it ASAP *)
845+
| Lifused (_, _) -> assert false
846846

847847
and convert_let (kind : Lam_compat.let_kind) id (e : Lambda.lambda) body : Lam.t =
848848
match kind, e with

0 commit comments

Comments
 (0)