Bug 22425 – Documentation on implicit conversion of arrays is incomplete
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
x86_64
OS
FreeBSD
Creation time
2021-10-18T22:42:02Z
Last change time
2021-10-19T09:49:25Z
Keywords
pull
Assigned to
No Owner
Creator
Don Allen
Comments
Comment #0 by donaldcallen1942 — 2021-10-18T22:42:02Z
Strings and string literals are arrays and Section 12.17 of the Language Reference purports to cover the implicit type conversions among the various array types. But it currently leaves out the special case of the treatment of string literals as described in Section 10.23.7 and should not, in my opinion. This could be fixed with a link in Section 12.17 to Section 10.23.7. My personal preference would be that the material in 10.23.7 be move to 12.17, perhaps with a link the other way.
Comment #1 by dlang-bot — 2021-10-19T00:19:38Z
@pbackus created dlang/dlang.org pull request #3114 "Fix issue 22425 - Documentation on implicit conversion of arrays is i…" fixing this issue:
- Fix issue 22425 - Documentation on implicit conversion of arrays is incomplete
https://github.com/dlang/dlang.org/pull/3114
Comment #2 by dlang-bot — 2021-10-19T09:49:25Z
dlang/dlang.org pull request #3114 "Fix issue 22425 - Documentation on implicit conversion of arrays is i…" was merged into master:
- d6bbdf6a1c828ea6376ceed250aec7699fdd203d by Paul Backus:
Fix issue 22425 - Documentation on implicit conversion of arrays is incomplete
https://github.com/dlang/dlang.org/pull/3114