src/Pure/Isar/constdefs.ML
changeset 26939 1035c89b4c02
parent 25352 24d1568af397
child 27691 ce171cbd4b93
--- a/src/Pure/Isar/constdefs.ML	Sat May 17 23:53:20 2008 +0200
+++ b/src/Pure/Isar/constdefs.ML	Sun May 18 15:04:09 2008 +0200
@@ -25,7 +25,7 @@
 fun gen_constdef prep_vars prep_prop prep_att
     structs (raw_decl, ((raw_name, raw_atts), raw_prop)) thy =
   let
-    fun err msg ts = error (cat_lines (msg :: map (Sign.string_of_term thy) ts));
+    fun err msg ts = error (cat_lines (msg :: map (Syntax.string_of_term_global thy) ts));
 
     val thy_ctxt = ProofContext.init thy;
     val struct_ctxt = #2 (ProofContext.add_fixes_i structs thy_ctxt);