https://d.puremagic.com/issues/show_bug.cgi?id=11964
Summary: Poor diagnostic in static assert with boolean operators Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: monarchdo...@gmail.com --- Comment #0 from monarchdo...@gmail.com 2014-01-22 02:26:41 PST --- //---- void main() { enum a = 0; enum b = 1; enum c = 2; static assert(b < a && a < b && b < c); } //---- This creates: //---- Error: static assert (false && 1 < 2) is false //---- This is not helpful at all. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------