File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1212 - uses : actions/checkout@v3
1313
1414 - name : Setup OCaml
15- uses : ocaml/setup-ocaml@v2
15+ uses : ocaml/setup-ocaml@v3
1616 with :
1717 ocaml-compiler : 4.14.x
1818
Original file line number Diff line number Diff line change 1111 - uses : actions/checkout@v2
1212
1313 - name : Setup OCaml
14- uses : avsm/setup-ocaml@v1
14+ uses : ocaml/setup-ocaml@v3
15+ with :
16+ ocaml-compiler : 4.14.x
1517
1618 - name : Install Opam packages
1719 run : opam pin add -n .; opam install eff --deps-only
Original file line number Diff line number Diff line change @@ -292,6 +292,10 @@ and dirt_omega_step ~loc sub resolved unresolved w dcons =
292292 { effect_set = ops2; row = Dirt.Row. Param d2 } ) ->
293293 let w' = DirtCoercionParam. refresh w in
294294 let d2' = Dirt.Param. refresh d2 in
295+ let dirt_sub =
296+ Substitution. add_dirt_substitution_e d2
297+ { effect_set = Effect.Set. diff ops1 ops2; row = Dirt.Row. Param d2' }
298+ in
295299 let w_ty' =
296300 ( (* In case d1 = d2, we need to substitute d1 as well *)
297301 Substitution. apply_substitutions_to_dirt dirt_sub
@@ -302,8 +306,7 @@ and dirt_omega_step ~loc sub resolved unresolved w dcons =
302306 } )
303307 in
304308 let sub' =
305- Substitution. add_dirt_substitution_e d2
306- { effect_set = Effect.Set. diff ops1 ops2; row = Dirt.Row. Param d2' }
309+ dirt_sub
307310 |> Substitution. add_dirt_var_coercion w
308311 (Coercion. unionDirt (ops1, Coercion. dirtCoercionVar w' w_ty'))
309312 in
You can’t perform that action at this time.
0 commit comments