[Issue 6969] New: Forward reference on template class triangle
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 17 18:20:57 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6969
Summary: Forward reference on template class triangle
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: cbkbbejeap at mailinator.com
Blocks: 340
--- Comment #0 from Nick Sabalausky <cbkbbejeap at mailinator.com> 2011-11-17 18:20:08 PST ---
class A()
{
alias C!() C1;
}
class B
{
alias A!() A1;
}
class C() : B
{
}
>dmd -c text.d
test.d(9): Error: class test.C!().C has forward references
test.d(7): Error: template instance test.A!() error instantiating
Problem cannot be worked around by rearranging order of declaration. All 6
possible orders exhibit the "has forward references" error.
Might be related to #3834
--
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