Summary: forward reference to aliased template instance
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: major
          Priority: P2
         Component: DMD

--- Comment #0 from Trass3r <> 2010-07-24 11:41:59 PDT ---
This is an extremely simplified version of my real code (cl4d) where these 3
parts are distributed among several files (and thus heavily depend on the build


class Collection(T)
ICollection c;

alias Collection!int ICollection;

fwdref2.d(4): Error: forward reference to 'Collection!(int)'
fwdref2.d(4): Error: ICollection is used as a type


Putting ICollection c; at the end makes it compile.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to