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

          Issue ID: 22993
           Summary: Missing quotes in octal literal hint
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

Forum post: https://forum.dlang.org/thread/[email protected]

User code:  auto w = 01777777777777777777777;
Suggestion: std.conv.octal!1777777777777777777777

The suggestion fails with `Error: integer overflow` because the literal is
assumed to be in base 10.

--

Reply via email to