digitalmars.D.bugs - [Issue 1879] New: Compiler segfaults on 'scope' and 'static if'
- d-bugmail puremagic.com (24/24) Feb 28 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1879
- d-bugmail puremagic.com (9/9) Mar 06 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1879
http://d.puremagic.com/issues/show_bug.cgi?id=1879 Summary: Compiler segfaults on 'scope' and 'static if' Product: D Version: 1.027 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: samukha voliacable.com This combination of 'scope' and 'static if' causes the compiler to segfault: The workaround is to use try/finally void main() { scope (exit) { } static if (false) // Compiles if true; { } } --
Feb 28 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1879 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed dmd 1.028 --
Mar 06 2008