Skip to content

Commit

Permalink
Fix handling of instance names in Persistent_env (#127)
Browse files Browse the repository at this point in the history
This change was already made in flambda-backend but looks to have been
inadvertently dropped during a merge.

Signed-off-by: Luke Maurer <[email protected]>
  • Loading branch information
lukemaurer authored Jan 30, 2025
1 parent 0514f08 commit 57e63b3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ocaml/typing/persistent_env.ml
Original file line number Diff line number Diff line change
Expand Up @@ -759,9 +759,6 @@ type 'a sig_reader =
Checks that OCaml source is allowed to refer to this module. *)

let acknowledge_pers_struct penv short_path_comps modname pers_name val_of_pers_sig =
if modname.Global_module.Name.args <> [] then
Misc.fatal_errorf "TODO: Unsupported instance name: %a"
Global_module.Name.print modname;
let {persistent_structures; _} = penv in
let import = pers_name.pn_import in
let global = pers_name.pn_global in
Expand Down

0 comments on commit 57e63b3

Please sign in to comment.