[Issue 4093] New: Segfault(interpret.c): with recursive struct templates
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 15 11:41:22 PDT 2010
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: nobody at puremagic.com
ReportedBy: clugdbug at yahoo.com.au
--- Comment #0 from Don <clugdbug at yahoo.com.au> 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: -------
More information about the Digitalmars-d-bugs
mailing list