Skip to content

Commit 4a0af08

Browse files
committed
Fix 23436 - Spec falsely states mutable references in struct .init are forbidden
1 parent 743ad2a commit 4a0af08

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spec/struct.dd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,6 @@ $(H3 $(LNAME2 default_struct_init, Default Initialization of Structs))
199199

200200
$(P The default initializers are evaluated at compile time.)
201201

202-
$(P The default initializers may not contain references to mutable data.)
203-
204202
$(H3 $(LNAME2 static_struct_init, Static Initialization of Structs))
205203

206204
$(GRAMMAR

0 commit comments

Comments
 (0)