diff -r b7ee916ae3ec -r 4059413acbc1 src/Pure/Isar/proof_context.ML --- a/src/Pure/Isar/proof_context.ML Sat Dec 17 01:00:38 2005 +0100 +++ b/src/Pure/Isar/proof_context.ML Sat Dec 17 01:00:40 2005 +0100 @@ -678,8 +678,8 @@ val occs1 = type_occs_of ctxt1 and occs2 = type_occs_of ctxt2; val extras = Symtab.fold (fn (a, ts) => if Symtab.defined occs1 a then I else fold (occs_free a) ts) occs2 []; - val tfrees = map #1 extras |> Library.sort_strings |> Library.unique_strings; - val frees = map #2 extras |> Library.sort_strings |> Library.unique_strings; + val tfrees = map #1 extras |> sort_distinct string_ord; + val frees = map #2 extras |> sort_distinct string_ord; in if null extras then () else warning ("Introduced fixed type variable(s): " ^ commas tfrees ^ " in " ^