Bug 6363 – Runtime crashes on a very simple case : throw + dirEntries
Status
RESOLVED
Resolution
DUPLICATE
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2011-07-22T12:34:00Z
Last change time
2011-08-25T08:01:16Z
Assigned to
nobody
Creator
soywiz
Comments
Comment #0 by soywiz — 2011-07-22T12:34:57Z
Works on v2.052, crashes on :: Windows - DMD32 D Compiler v2.054
Maybe something related to templates? Don't know. But that way at least crashes.
// dmd -run demo2.d
import std.file;
int main(string[] args) {
throw(new Exception(""));
dirEntries("", SpanMode.shallow);
return 0;
}