Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with OCaml 5.3.0 #1204

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions core/irCheck.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1053,11 +1053,11 @@ struct
(* For each case branch, the corresponding entry goes directly into the field spec map of the inner effect row *)
let inner_effects_map_from_branches = StringMap.map (fun x -> Present x) branch_presence_spec_types in
(* We now add all entries from the outer effects that were not touched by the handler to the inner effects *)
let inner_effects_map = StringMap.fold (fun effect outer_presence_spec map ->
if StringMap.mem effect inner_effects_map_from_branches then
let inner_effects_map = StringMap.fold (fun effect_ outer_presence_spec map ->
if StringMap.mem effect_ inner_effects_map_from_branches then
map
else
StringMap.add effect outer_presence_spec map
StringMap.add effect_ outer_presence_spec map
) inner_effects_map_from_branches outer_effects_map in
let inner_effects = Row (inner_effects_map, outer_effects_var, outer_effects_dualized) in

Expand Down
Loading