dropped diagnostic handles
authorhaftmann
Sun, 14 Jun 2009 09:13:06 +0200
changeset 31628 28699098b5f3
parent 31626 fe35b72b9ef0
child 31629 40d775733848
dropped diagnostic handles
src/HOL/Tools/quickcheck_generators.ML
--- a/src/HOL/Tools/quickcheck_generators.ML	Sat Jun 13 16:32:38 2009 +0200
+++ b/src/HOL/Tools/quickcheck_generators.ML	Sun Jun 14 09:13:06 2009 +0200
@@ -370,13 +370,9 @@
       can (Sorts.mg_domain algebra tyco) @{sort random}) tycos;
   in if has_inst then thy
     else case perhaps_constrain thy (random_insts @ term_of_insts) raw_vs
-     of SOME constrain => (mk_random_datatype descr
+     of SOME constrain => mk_random_datatype descr
           (map constrain raw_vs) tycos (names, auxnames)
             ((pairself o map o map_atyps) (fn TFree v => TFree (constrain v)) raw_TUs) thy
-            (*FIXME ephemeral handles*)
-          handle e as TERM (msg, ts) => (tracing (cat_lines (msg :: map (Syntax.string_of_term_global thy) ts)); raise e)
-               | e as TYPE (msg, _, _) => (tracing msg; raise e)
-               | e as ERROR msg => (tracing msg; raise e))
       | NONE => thy
   end;