We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1996ba2 commit ce9d57bCopy full SHA for ce9d57b
middle_end/compilenv.ml
@@ -142,6 +142,8 @@ let reset ?packname name =
142
(current_unit_linkage_name ())
143
in
144
Compilation_unit.set_current compilation_unit;
145
+ (* The Flambda 2 current compilation unit must be set separately
146
+ since a different set of types are used. *)
147
let module Compilation_unit = Flambda2_compilenv_deps.Compilation_unit in
148
let module Linkage_name = Flambda2_compilenv_deps.Linkage_name in
149
let compilation_unit =
0 commit comments