[Issue 1977] Relax warnings (D1)/errors (D2) for implicit narrowing conversions caused by promotions

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1977 Iain Buclaw changed: What|Removed |Added Priority|P2 |P4 --

[Issue 1977] Relax warnings (D1)/errors (D2) for implicit narrowing conversions caused by promotions

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1977 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|unspecified |D2 --

[Issue 1977] Relax warnings (D1)/errors (D2) for implicit narrowing conversions caused by promotions

2012-10-13 Thread d-bugmail
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

[Issue 1977] Relax warnings (D1)/errors (D2) for implicit narrowing conversions caused by promotions

2012-10-13 Thread d-bugmail
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

[Issue 1977] Relax warnings (D1)/errors (D2) for implicit narrowing conversions caused by promotions

2012-10-13 Thread d-bugmail
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

[Issue 1977] Relax warnings (D1)/errors (D2) for implicit narrowing conversions caused by promotions

2012-10-12 Thread d-bugmail
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

[Issue 1977] Relax warnings (D1)/errors (D2) for implicit narrowing conversions caused by promotions

2012-10-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1977 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC|

[Issue 1977] Relax warnings (D1)/errors (D2) for implicit narrowing conversions caused by promotions

2009-08-08 Thread d-bugmail
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

[Issue 1977] Relax warnings (D1)/errors (D2) for implicit narrowing conversions caused by promotions

2009-08-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1977 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added CC|