[Issue 13785] New: Integer literals are not getting widened
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Nov 27 06:11:19 PST 2014
https://issues.dlang.org/show_bug.cgi?id=13785
Issue ID: 13785
Summary: Integer literals are not getting widened
Product: D
Version: D1 & D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: public at dicebot.lv
```
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
--
More information about the Digitalmars-d-bugs
mailing list