digitalmars.D.bugs - [Issue 15289] New: VRP not working as expected on division
- via Digitalmars-d-bugs (18/18) Nov 05 2015 https://issues.dlang.org/show_bug.cgi?id=15289
https://issues.dlang.org/show_bug.cgi?id=15289 Issue ID: 15289 Summary: VRP not working as expected on division Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: deadalnix gmail.com Error: cannot implicitly convert expression (50LU / dirties.length) of type ulong to uint When doing uint foo = 50 / arr.length; I don't think this is ever going to overflow, so we are safe. --
Nov 05 2015