http://d.puremagic.com/issues/show_bug.cgi?id=4093
Summary: Segfault(interpret.c): with recursive struct templates
Product: D
Version: 2.040
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: ice-on-invalid-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Don <[email protected]> 2010-04-15 11:41:19 PDT ---
struct Zug(int Z){
const void * bahn = Bug4093!(0).hof.bahn;
}
struct Bug4093(int Q){
Zug!(0) hof;
}
const a = Zug!(0).bahn;
====
crash.d(220): Error: 'this' is only defined in non-static member functions, not
crash
crash.d(220): Error: this for hof needs to be type Bug4093 not type int
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------