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

Dlang Bot <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <[email protected]> ---
@MoonlightSentinel created dlang/dmd pull request #13958 "Fix 22993 - Suggest
string overload of std.conv.octal" fixing this issue:

- Fix 22993 - Suggest string overload of std.conv.octal

  The previously suggested integer overload has two drawbacks. The literal
  parsed as base 10 and hence can overflow for larger values that are only
  valid in base 8. It also requires additional CTFE because it converts
  the value to string.

  So add quotes to the literal in the error message to suggest the string
  overload.

https://github.com/dlang/dmd/pull/13958

--

Reply via email to