tuned;
authorwenzelm
Tue, 02 May 2006 00:20:40 +0200
changeset 19530 486dd4b07188
parent 19529 690861f93d2b
child 19531 89970e06351f
tuned;
src/Pure/type.ML
--- a/src/Pure/type.ML	Tue May 02 00:20:38 2006 +0200
+++ b/src/Pure/type.ML	Tue May 02 00:20:40 2006 +0200
@@ -212,8 +212,8 @@
 
 fun arity_sorts _ tsig a [] = replicate (arity_number tsig a) []
   | arity_sorts pp (TSig {classes, arities, ...}) a S =
-      Sorts.mg_domain (#2 classes, arities) a S handle Sorts.DOMAIN (a, c) =>
-        error ("No way to get " ^ Pretty.string_of_arity pp (a, [], [c]));
+      Sorts.mg_domain (#2 classes, arities) a S
+        handle Sorts.DOMAIN d => Sorts.domain_error pp d;