Blame tests/modules/pass_iter_key_union.aug

Packit 06dd63
module Pass_iter_key_union =
Packit 06dd63
Packit 06dd63
  (* We used to typecheck the atype of this as (a|b/)*               *)
Packit 06dd63
  (* which is wrong and leads to spurious ambiguous iteration errors *)
Packit 06dd63
  (* The right atype is ((a|b)/)*                                    *)
Packit 06dd63
  let l1 = [ key /a|b/ . store /x/ ]
Packit 06dd63
  let l2 = [ key /ab/ . store /y/ ]
Packit 06dd63
Packit 06dd63
  let lns = (l1 | l2)*
Packit 06dd63
Packit 06dd63
(* Local Variables: *)
Packit 06dd63
(* mode: caml       *)
Packit 06dd63
(* End:             *)