src/Pure/Isar/code.ML
changeset 78095 bc42c074e58f
parent 78068 a01c3bcf22dd
child 78139 bb85bda12b8e
--- a/src/Pure/Isar/code.ML	Tue May 23 10:56:41 2023 +0200
+++ b/src/Pure/Isar/code.ML	Tue May 23 18:46:15 2023 +0200
@@ -1310,7 +1310,7 @@
 (* abstract code declarations *)
 
 fun code_declaration strictness lift_phi f x =
-  Local_Theory.declaration {syntax = false, pervasive = false}
+  Local_Theory.declaration {syntax = false, pervasive = false, pos = Position.thread_data ()}
     (fn phi => Context.mapping (f strictness (lift_phi phi x)) I);