[Bug 82] New: Crash when compiled with gdc (not dmd). Related to direntry? or with?
gdc-bugzilla at gdcproject.org
gdc-bugzilla at gdcproject.org
Sun Oct 20 16:02:43 PDT 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=82
Bug #: 82
Summary: Crash when compiled with gdc (not dmd). Related to
direntry? or with?
Classification: Unclassified
Product: GDC
Version: 4.8.x
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: libgdruntime
AssignedTo: ibuclaw at gdcproject.org
ReportedBy: orcwog at gmx.com
//gdc --version
//gdc (Debian 4.8.2-1) 4.8.2
import std.stdio;
import std.file;
struct tmp {
string s;
int i;
}
tmp[int] thash;
void main() {
foreach (DirEntry e; dirEntries(".",SpanMode.breadth)) {
thash[0] = tmp.init;
with (thash[0]) {
i = 5;
}
}
}
--
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the D.gnu
mailing list