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 20afdf6 commit 8e4abfaCopy full SHA for 8e4abfa
src/ocaml/typing/types.ml
@@ -862,7 +862,7 @@ let set_level ty level =
862
(* TODO: introduce a guard and rename it to set_higher_scope? *)
863
let set_scope ty scope =
864
let ty = repr ty in
865
- let prev_scope = ty.scope land marks_mask in
+ let prev_scope = ty.scope land scope_mask in
866
if scope <> prev_scope then begin
867
if ty.id <= !last_snapshot then log_change (Cscope (ty, prev_scope));
868
Transient_expr.set_scope ty scope
0 commit comments