[Issue 13785] Integer literals are not getting widened

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Nov 27 06:55:49 PST 2014


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

bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc

--- Comment #1 from bearophile_hugs at eml.cc ---
(In reply to Dicebot from comment #0)
> ```
> const long A = 24L*60*60*1000*1000*10L;
> const long B = 24*60*60*1000*1000*10L;
> static assert(A == B);
> ```
> 
> applicable to both D1 and D2

This bug report is already in Bugzilla. And Walter has even written a patch to
fix it, but it's currently on hold because of a comment by Don.

--


More information about the Digitalmars-d-bugs mailing list