http://d.puremagic.com/issues/show_bug.cgi?id=8929
Summary: long.min is a Voldermort literal
Product: D
Version: D1 & D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from David Eckardt <[email protected]> 2012-11-01
09:23:21 PDT ---
It cannot be named.
static assert (long.min == -9223372036854775807L);
// Error: static assert (-9223372036854775808L == -9223372036854775807L) is
false
static assert (long.min == -9223372036854775808L);
// Error: signed integer overflow
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------