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

Dlang Bot <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <[email protected]> ---
dlang/dmd pull request #13958 "Fix 22993 - Suggest string overload of
std.conv.octal" was merged into stable:

- d89e3f5ad2bd2fc5a988300e40cd2c3e14d1de02 by MoonlightSentinel:
  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