--- a/src/HOL/Statespace/distinct_tree_prover.ML Fri Apr 12 14:54:14 2013 +0200
+++ b/src/HOL/Statespace/distinct_tree_prover.ML Fri Apr 12 15:30:38 2013 +0200
@@ -107,9 +107,8 @@
val insts' = map (apfst mapT_and_recertify) insts;
in Thm.instantiate (instTs, insts') end;
-fun tvar_clash ixn S S' = raise TYPE ("Type variable " ^
- quote (Term.string_of_vname ixn) ^ " has two distinct sorts",
- [TVar (ixn, S), TVar (ixn, S')], []);
+fun tvar_clash ixn S S' =
+ raise TYPE ("Type variable has two distinct sorts", [TVar (ixn, S), TVar (ixn, S')], []);
fun lookup (tye, (ixn, S)) =
(case AList.lookup (op =) tye ixn of