Compiling the following code without -debug option causes dmd.exe to crash. But D2.057 does not crash. import std.stdio; void main() { scope(failure) debug writeln("error"); writeln("do something"); } Environment: Windows XP 32bit DMD & libraries - D2 github trunk on Jan. 31, 2012
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/00fa9f73f5a713670979fa0c11acc6872205cdd2 fix Issue 7435 - Regression(master):dmd crashes when 'scope(failure) debug ...' without -debug option.
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/766bfbad17048dbe98bb5fe5df3cb0bb69982d93 fix Issue 7435 - Regression(master):dmd crashes when 'scope(failure) debug ...' without -debug option.