diff --git a/jscomp/ml/translcore.ml b/jscomp/ml/translcore.ml index a36afa350d..e5554ec77b 100644 --- a/jscomp/ml/translcore.ml +++ b/jscomp/ml/translcore.ml @@ -355,6 +355,12 @@ let primitives_table = (* Compiler internals, never expose to ReScript files *) ("#raw_expr", Pjs_raw_expr); ("#raw_stmt", Pjs_raw_stmt); + + (* FIXME: Core compatibility *) + ("#null", Pundefined); + ("#undefined", Pundefined); + ("#is_nullable", Pisnullable); + ("#nullable_to_opt", Pnullable_to_opt); |] let find_primitive prim_name = Hashtbl.find primitives_table prim_name