[Issue 4033] New: Error: base class is forward referenced
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 31 01:55:42 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4033
Summary: Error: base class is forward referenced
Product: D
Version: 1.057
Platform: Other
OS/Version: All
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: nfxjfg at gmail.com
--- Comment #0 from nfxjfg at gmail.com 2010-03-31 01:55:29 PDT ---
$ dmd t2.d
t2.d(13): Error: class t2.Z base class is forward referenced by X
t2.d(7): Error: static assert (is(Z : X)) is false
t2.d(11): instantiated from here: Template!(Z)
$ cat t2.d
module t2;
class X {
}
class Template(T) {
static assert(is(T : X)); //line 7
}
alias Template!(Z) Bla; //line 11
class Z : X { //line 13
}
--
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