src/Tools/Code/code_preproc.ML
changeset 47005 421760a1efe7
parent 46961 5c6955f487e5
child 48075 ec5e62b868eb
--- a/src/Tools/Code/code_preproc.ML	Sun Mar 18 12:51:44 2012 +0100
+++ b/src/Tools/Code/code_preproc.ML	Sun Mar 18 13:04:22 2012 +0100
@@ -431,7 +431,7 @@
       |> fold (ensure_fun thy arities eqngr) cs
       |> fold (ensure_rhs thy arities eqngr) cs_rhss;
     val arities' = fold (add_arity thy vardeps) insts arities;
-    val algebra = Sorts.subalgebra (Syntax.init_pretty_global thy) (is_proper_class thy)
+    val algebra = Sorts.subalgebra (Context.pretty_global thy) (is_proper_class thy)
       (AList.lookup (op =) arities') (Sign.classes_of thy);
     val (rhss, eqngr') = Symtab.fold (add_cert thy vardeps) eqntab ([], eqngr);
     fun deps_of (c, rhs) = c :: maps (dicts_of thy algebra)