www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22425] New: Documentation on implicit conversion of arrays is


          Issue ID: 22425
           Summary: Documentation on implicit conversion of arrays is
           Product: D
           Version: D2
          Hardware: x86_64
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: donaldcallen1942 icloud.com

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.

Oct 18 2021