src/Pure/Isar/specification.ML
changeset 22744 5cbe966d67a2
parent 21860 c4492c6bf450
child 22923 6384c43da028
--- a/src/Pure/Isar/specification.ML	Fri Apr 20 11:21:41 2007 +0200
+++ b/src/Pure/Isar/specification.ML	Fri Apr 20 11:21:42 2007 +0200
@@ -130,7 +130,8 @@
 (*    |> LocalTheory.def ((x, mx), ((name ^ "_raw", []), rhs));  FIXME *)
       |> LocalTheory.def Thm.definitionK ((x, mx), ((name, []), rhs));
     val ((b, [th']), lthy3) = lthy2
-      |> LocalTheory.note Thm.definitionK ((name, atts), [prove lthy2 th]);
+      |> LocalTheory.note Thm.definitionK
+          ((name, CodegenData.add_func_attr false :: atts), [prove lthy2 th]);
 
     val lhs' = Morphism.term (LocalTheory.target_morphism lthy3) lhs;
     val _ = print_consts lthy3 (member (op =) (Term.add_frees lhs' [])) [(x, T)];