http://d.puremagic.com/issues/show_bug.cgi?id=4042

           Summary: Unable to instantiate a struct template.
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: e.insafutdi...@gmail.com


--- Comment #0 from Eldar Insafutdinov <e.insafutdi...@gmail.com> 2010-04-02 
10:25:58 PDT ---
Created an attachment (id=598)
testcase

When compiling the attached code I get

main.d(51): Error: this for ref_ needs to be type QList not type
QList!(QGraphicsWidget)
main.d(51): Error: struct main.QList!(QGraphicsWidget).QList member ref_ is not
accessible

This bug caused a lot of headache and held off development of QtD for quite a
while. I was finally able to reduce it to the sensible sized
test-case(originally the number of source files was about 500). If you play
with the testcase you'll find out that even slight modifications will lead to
change of the error message or to disappearing of it. Something is going
horribly wrong in the compiler. The version I tested it with is 2.042 which is
not present on the list.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to