src/Pure/Isar/interpretation.ML
changeset 61772 2f33f6cc964d
parent 61771 acc532690ee1
child 61773 2256ef8224f6
--- a/src/Pure/Isar/interpretation.ML	Wed Dec 02 19:14:55 2015 +0100
+++ b/src/Pure/Isar/interpretation.ML	Wed Dec 02 19:14:56 2015 +0100
@@ -88,7 +88,7 @@
     val (def_eqns, def_ctxt) = define_mixins pre_defs expr_ctxt;
     val attrss = map (apsnd (map (prep_attr def_ctxt)) o fst) raw_eqns;
     val goal_ctxt = fold Variable.auto_fixes eqns def_ctxt;
-    val export' = Variable.export_morphism goal_ctxt def_ctxt;
+    val export' = Variable.export_morphism goal_ctxt expr_ctxt;
   in (((propss, deps, export, export'), (def_eqns, eqns, attrss)), goal_ctxt) end;
 
 in