merged
authorhaftmann
Sun, 14 Jun 2009 09:13:59 +0200
changeset 31629 40d775733848
parent 31627 bc2de3795756 (current diff)
parent 31628 28699098b5f3 (diff)
child 31630 2f8ed0dca3bd
child 31633 ea47e2b63588
merged
--- a/src/HOL/Tools/quickcheck_generators.ML	Sun Jun 14 09:11:51 2009 +0200
+++ b/src/HOL/Tools/quickcheck_generators.ML	Sun Jun 14 09:13:59 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;