https://issues.dlang.org/show_bug.cgi?id=1977
Iain Buclaw changed:
What|Removed |Added
Priority|P2 |P4
--
https://issues.dlang.org/show_bug.cgi?id=1977
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Version|unspecified |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=1977
--- Comment #26 from Ryuichi OHORI r.97...@gmail.com 2012-10-13 04:28:56 PDT
---
Your example is perfectly valid.
I don't see. In the example above( http://dpaste.dzfl.pl/8b9f5471 ), the value
in y is 16777216, which is greater than
http://d.puremagic.com/issues/show_bug.cgi?id=1977
--- Comment #28 from Ryuichi OHORI r.97...@gmail.com 2012-10-13 09:23:44 PDT
---
(In reply to comment #27)
reassigned to x because the result is only 4, which fits in a ushort just
fine.
The result is 16777220 if both operands are int. I
http://d.puremagic.com/issues/show_bug.cgi?id=1977
--- Comment #29 from Jonathan M Davis jmdavisp...@gmx.com 2012-10-13 12:35:13
PDT ---
The result is 16777220 if both operands are int. I think this is an implicit
narrowing conversion.
Ah. Then yes, it sounds like it's doing the wrong
http://d.puremagic.com/issues/show_bug.cgi?id=1977
Ryuichi OHORI r.97...@gmail.com changed:
What|Removed |Added
CC||r.97...@gmail.com
http://d.puremagic.com/issues/show_bug.cgi?id=1977
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=1977
--- Comment #22 from Jason House jason.james.ho...@gmail.com 2009-08-08
09:17:31 PDT ---
(In reply to comment #21)
I'm only worrying about D2 where implicit narrowing conversions is part of the
spec. ulong%1000 should implicitly allowed
http://d.puremagic.com/issues/show_bug.cgi?id=1977
Andrei Alexandrescu and...@metalanguage.com changed:
What|Removed |Added
CC|