src/Pure/theory.ML
changeset 30240 5b25fee0362c
parent 29606 fedb8be05f24
child 30337 eb189f7e43a1
--- a/src/Pure/theory.ML	Wed Mar 04 10:43:39 2009 +0100
+++ b/src/Pure/theory.ML	Wed Mar 04 10:45:52 2009 +0100
@@ -258,7 +258,7 @@
     val _ = check_overloading thy overloaded lhs_const;
   in defs |> dependencies thy unchecked true name lhs_const rhs_consts end
   handle ERROR msg => cat_error msg (Pretty.string_of (Pretty.block
-   [Pretty.str ("The error(s) above occurred in definition " ^ quote (Binding.display b) ^ ":"),
+   [Pretty.str ("The error(s) above occurred in definition " ^ quote (Binding.str_of b) ^ ":"),
     Pretty.fbrk, Pretty.quote (Syntax.pretty_term_global thy tm)]));