src/Pure/Isar/class_declaration.ML
changeset 58963 26bf09b95dda
parent 58957 c9e744ea8a38
child 59498 50b60f501b05
--- a/src/Pure/Isar/class_declaration.ML	Sun Nov 09 20:49:28 2014 +0100
+++ b/src/Pure/Isar/class_declaration.ML	Mon Nov 10 21:49:48 2014 +0100
@@ -97,7 +97,7 @@
     fun tac ctxt =
       REPEAT (SOMEGOAL
         (match_tac ctxt (axclass_intro :: sup_of_classes @ loc_axiom_intros @ base_sort_trivs)
-          ORELSE' assume_tac));
+          ORELSE' assume_tac ctxt));
     val of_class = Goal.prove_sorry_global thy [] [] of_class_prop (tac o #context);
 
   in (base_morph, eq_morph, export_morph, some_axiom, some_assm_intro, of_class) end;