src/Pure/Isar/class_declaration.ML
changeset 38875 c7a66b584147
parent 38756 d07959fabde6
child 40188 eddda8e38360
--- a/src/Pure/Isar/class_declaration.ML	Mon Aug 30 15:09:20 2010 +0200
+++ b/src/Pure/Isar/class_declaration.ML	Mon Aug 30 15:19:39 2010 +0200
@@ -126,8 +126,8 @@
                 else error ("Type inference imposes additional sort constraint "
                   ^ Syntax.string_of_sort_global thy inferred_sort
                   ^ " of type parameter " ^ Name.aT ^ " of sort "
-                  ^ Syntax.string_of_sort_global thy a_sort ^ ".")
-            | _ => error "Multiple type variables in class specification.";
+                  ^ Syntax.string_of_sort_global thy a_sort)
+            | _ => error "Multiple type variables in class specification";
       in (map o map_atyps) (K (TFree (Name.aT, fixate_sort))) Ts end;
     val after_infer_fixate = (map o map_atyps)
       (fn T as TFree _ => T | T as TVar (vi, sort) =>