File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed
Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ let add_val env id t =
346346let add_typs env xs cs =
347347 { env with
348348 typs = List. fold_right2 T.Env. add xs cs env.typs;
349- cons = List. fold_right T.ConSet. disjoint_add cs env.cons;
349+ cons = List. fold_right T.ConSet. add cs env.cons;
350350 }
351351
352352let adjoin env scope =
@@ -363,7 +363,7 @@ let adjoin_vals env ve = {env with vals = T.Env.adjoin env.vals (available ve)}
363363let adjoin_typs env te ce =
364364 { env with
365365 typs = T.Env. adjoin env.typs te;
366- cons = T.ConSet. disjoint_union env.cons ce;
366+ cons = T.ConSet. union env.cons ce;
367367 }
368368
369369let disjoint_union env at code fmt env1 env2 =
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11Motoko compiler (source XXX)
22> type t = <T>T -> <T_1>T_1 -> T_1
33> type T = ()
4+ > type t = <T>T -> <T_1>T_1 -> T_1
45>
You can’t perform that action at this time.
0 commit comments