www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4043] New: Class is forward referenced when looking for sizeof

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4043

           Summary: Class is forward referenced when looking for sizeof
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: e.insafutdinov gmail.com



10:42:37 PDT ---
main.d(41): Error: class main.QGraphicsWidget is forward referenced when
looking for 'sizeof'
main.d(14): Error: template instance main.QTypeInfo!(QGraphicsWidget) error
instantiating
main.d(49):        instantiated from here: QList!(QGraphicsWidget)

It is based on the a modified testcase from
http://d.puremagic.com/issues/show_bug.cgi?id=4042 and may actually be the same
issue. But since it shows quite a different error message, I am putting it as a
separate report.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 02 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4043




10:43:05 PDT ---
Created an attachment (id=599)
testcase

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 02 2010
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4043


Max Samukha <samukha voliacable.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |samukha voliacable.com
         Resolution|                            |DUPLICATE



PDT ---
The same as 4042

There is an error in the test-case:
- auto x = QList!(QGraphicsWidget);
+ QList!(QGraphicsWidget) x;

The corrected test-case compiles with dmd rev
http://dsource.org/projects/dmd/changeset/477

*** This issue has been marked as a duplicate of issue 4042 ***

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