Bug 7435 – Regression(master):dmd crashes when 'scope(failure) debug ...' without -debug option.
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2012-02-04T04:13:00Z
Last change time
2015-06-09T05:11:39Z
Assigned to
nobody
Creator
kekeniro2
Comments
Comment #0 by kekeniro2 — 2012-02-04T04:13:05Z
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
Comment #1 by github-bugzilla — 2012-02-04T14:52:08Z