May 09, 2007 [Issue 1224] New: Compilation does not stop on asserts during CTFE | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1224 Summary: Compilation does not stop on asserts during CTFE Product: D Version: 1.014 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: samukha@voliacable.com int foo2() { int a; assert(a); a = 1; assert(!a); return a; } void main() { const a = foo2(); } bugs.d(21): Error: assert(a) failed bugs.d(23): Error: assert(!a) failed -- |
July 01, 2007 [Issue 1224] Compilation does not stop on asserts during CTFE | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1224 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2007-07-01 14:02 ------- Fixed DMD 1.018 and DMD 2.002 -- |
Copyright © 1999-2021 by the D Language Foundation