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: nob...@puremagic.com
          Reporter: bugzi...@d-ecke.de

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/unesuebhxinmoqzhz...@forum.dlang.org

--

Reply via email to