[Issue 13606] erroneous overflow error in negative long literal
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Oct 30 12:53:25 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13606
hsteoh at quickfur.ath.cx changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hsteoh at quickfur.ath.cx
--- Comment #7 from hsteoh at quickfur.ath.cx ---
This looks like two bugs in one... the first appears to be caused by parsing
negative literals as the negation of the corresponding positive literal, and
the second is the implicit cast from unsigned to signed, which has been a
source of subtle bugs in D.
--
More information about the Digitalmars-d-bugs
mailing list