exception Ambiguous_input
(* the integer is an offset to be added to each location *)
exception DisambiguationError of
- int * (Token.flocation option * string Lazy.t) list list
+ int *
+ ((Token.flocation list * string * string) list *
+ (DisambiguateTypes.domain_item * DisambiguateTypes.codomain_item) list *
+ Token.flocation option * string Lazy.t * bool) list list
(** parameters are: option name, error message *)
exception Unbound_identifier of string
f ~fresh_instances ~aliases ~universe thing
in
let set_aliases (instances,(use_mono_aliases,_,_),_) (_, user_asked as res) =
- if use_mono_aliases && not instances then
- drop_aliases res
+ if use_mono_aliases then
+ drop_aliases ~minimize_instances:true res (* one shot aliases *)
else if user_asked then
drop_aliases ~minimize_instances:true res (* one shot aliases *)
else