digitalmars.D.bugs - [Issue 17510] New: How could 509 be a byte value?
- via Digitalmars-d-bugs (26/28) Jun 15 2017 https://issues.dlang.org/show_bug.cgi?id=17510
https://issues.dlang.org/show_bug.cgi?id=17510 Issue ID: 17510 Summary: How could 509 be a byte value? Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity: normal Priority: P3 Component: dlang.org Assignee: nobody puremagic.com Reporter: qmnaidgolfrot rcpt.at In http://dlang.org/spec/lex.html:Byte value in octal. For example: \775 represents the character with the value 509.509 cannot be byte as byte means (signed) 8-bit value... Possibility_1: "Unicode character in octal. For example \775 represents the Unicode character which code is (decimally) 509." Possibility_2: "ubyte value in octal." \775 is not allowed (gives an error). The maximum octal number allowed is 377 (decimally 255). (More cases may be possible.) --
Jun 15 2017