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