Skip to content

Commit 8c8a8d2

Browse files
pbackusdlang-bot
authored andcommitted
Fix issue 22425 - Documentation on implicit conversion of arrays is incomplete
1 parent a219eb9 commit 8c8a8d2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

spec/arrays.dd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,6 +1115,14 @@ $(H2 $(LNAME2 implicit-conversions, Implicit Conversions))
11151115
$(LI $(D void[]))
11161116
)
11171117

1118+
$(P Array literals can also be implicitly converted to static array
1119+
types. See $(DDSUBLINK spec/expression, array_literals, Array Literals)
1120+
for details.)
1121+
1122+
$(P String literals can also be implicitly converted to static array
1123+
types and character pointer types. See $(DDSUBLINK spec/expression, string_literals,
1124+
String Literals) for details.)
1125+
11181126
$(SPEC_SUBNAV_PREV_NEXT statement, Statements, hash-map, Associative Arrays)
11191127
)
11201128

0 commit comments

Comments
 (0)