src/Pure/type_infer.ML
changeset 17496 26535df536ae
parent 17282 43c86fedec82
child 18339 64cb06a0bb50
     1.1 --- a/src/Pure/type_infer.ML	Tue Sep 20 08:20:22 2005 +0200
     1.2 +++ b/src/Pure/type_infer.ML	Tue Sep 20 08:21:49 2005 +0200
     1.3 @@ -452,7 +452,7 @@
     1.4        xi = xi' andalso Type.eq_sort tsig (S, S');
     1.5  
     1.6      val env = gen_distinct eq (map (apsnd map_sort) raw_env);
     1.7 -    val _ = (case gen_duplicates eq_fst env of [] => ()
     1.8 +    val _ = (case gen_duplicates (eq_fst (op =)) env of [] => ()
     1.9        | dups => error ("Inconsistent sort constraints for type variable(s) "
    1.10            ^ commas_quote (map (Syntax.string_of_vname' o fst) dups)));
    1.11