https://issues.dlang.org/show_bug.cgi?id=20449
Issue ID: 20449
Summary: integer literal specification and implementation
differs
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dlang.org
Assignee: [email protected]
Reporter: [email protected]
void main()
{
auto x = 9223372036854775808; // long.max + 1
}
compilation fails, but specs on https://dlang.org/spec/lex.html#integerliteral
tell, that it will not.
See https://forum.dlang.org/post/[email protected]
--