src/Pure/type.ML
changeset 51701 1e29891759c4
parent 50201 c26369c9eda6
child 51930 52fd62618631
--- a/src/Pure/type.ML	Fri Apr 12 14:54:14 2013 +0200
+++ b/src/Pure/type.ML	Fri Apr 12 15:30:38 2013 +0200
@@ -416,9 +416,8 @@
 
 type tyenv = (sort * typ) Vartab.table;
 
-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 Vartab.lookup tye ixn of