[Issue 9107] Value Range Analysis with uint and byte
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 23 08:09:16 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=9107
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|diagnostic |accepts-invalid, pull
Platform|x86 |All
OS/Version|Windows |All
Severity|normal |regression
--- Comment #2 from yebblies <yebblies at gmail.com> 2013-11-24 03:09:08 EST ---
(In reply to comment #0)
bearophile, you actually asked for this in issue 6000.
void modulus_bug6000b() {
long n = 10520;
ubyte b = n % 10;
}
And it would've been rejected before VRP was implemented, so it's an ancient
regression.
https://github.com/D-Programming-Language/dmd/pull/2865
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list