[Issue 22504] New: spec/type.html: 6.1 Basic Data Types: Backslash missing in default value for {,d,w}char

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 11 17:58:43 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22504

          Issue ID: 22504
           Summary: spec/type.html: 6.1 Basic Data Types: Backslash
                    missing in default value for {,d,w}char
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: kdevel at vogtner.de

https://dlang.org/spec/type.html

char    'xFF'   unsigned 8 bit (UTF-8 code unit)
wchar   'uFFFF' unsigned 16 bit (UTF-16 code unit)
dchar   'U0000FFFF'     unsigned 32 bit (UTF-32 code unit)

should read

char    '\xFF'  unsigned 8 bit (UTF-8 code unit)
wchar   '\uFFFF'        unsigned 16 bit (UTF-16 code unit)
dchar   '\U0000FFFF'    unsigned 32 bit (UTF-32 code unit)

--


More information about the Digitalmars-d-bugs mailing list