Skip to content

Commit

Permalink
Bring #import back for Core compatibility (#7177)
Browse files Browse the repository at this point in the history
The primitive for dynamic import has been renamed to `%import`,
but there are a few libraries directly rely on compiler primitives.
  • Loading branch information
cometkim authored Nov 25, 2024
1 parent 6f77efa commit 32b1563
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/ml/translcore.ml
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ let primitives_table =
("#nullable_to_opt", Pnull_to_opt);
("#undefined_to_opt", Pundefined_to_opt);
("#makemutablelist", Pmakelist Mutable);
("#import", Pimport);
(* FIXME: Deprecated *)
("%obj_field", Parrayrefu);
|]
Expand Down

0 comments on commit 32b1563

Please sign in to comment.