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
            Blocks: 340

--- Comment #0 from Nick Sabalausky <> 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:
------- You are receiving this mail because: -------

Reply via email to