[Issue 19059] Invalid integer literal 08 and 09 allowed
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jul 5 11:56:08 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19059
--- Comment #5 from Hiroki Noda <kubo39 at gmail.com> ---
I am concerned about (2) and (3), is this behavior confusing with the use of
std.conv. octal?
---
assert(010 == 10); // Error: octal literals 010 are no longer supported, use
std.conv.octal!10 instead
assert(019 == 19); // Error: radix 8 digit expected, not 9
// Error: octal literals 021 are no longer supported,
use std.conv.octal!21 instead
--
More information about the Digitalmars-d-bugs
mailing list