[Issue 20479] octal integer literals don't work with BetterC mode

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 18 09:06:41 UTC 2021


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

mipri <mipri at minimaltype.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |CTFE
                 CC|                            |mipri at minimaltype.com

--- Comment #4 from mipri <mipri at minimaltype.com> ---
Issue #21492 seems to be the reason for the failure with octal!167

Issue #19268 has a lot of discussion that's relevant to octal!"167".
This specific case can be fixed just in phobos by swapping

-private T octal(T)(const string num)
+private T octal(T, string num)()

and changing callers to suit.

--


More information about the Digitalmars-d-bugs mailing list