[Issue 3170] Forward reference bugs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 13 13:44:40 PDT 2009


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


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
                 CC|                            |smjg at iname.com
            Version|2.031                       |1.045
             Blocks|                            |340




--- Comment #2 from Stewart Gordon <smjg at iname.com>  2009-07-13 13:44:40 PDT ---
Please remember to assign keywords to bug reports.  To everybody reading this:
Please look through issues you've reported and check for missing keywords.

And please report the full compiler output from the testcases you post.  It
makes it far easier for all of us to see what's going on.

C:\Users\Stewart\Documents\Programming\D\Tests\bugs>dmd bz3170a.d
bz3170a.d(8): Error: class reproA.C is forward referenced when looking for 'D'
bz3170a.d(8): Error: class reproA.C is forward referenced when looking for 'D'
bz3170a.d(8): Error: class reproA.C is forward referenced when looking for 'D'
bz3170a.d(5): Error: no property 'D' for type 'reproA.C'
bz3170a.d(5): Error: C.D is used as a type
bz3170a.d(5): Error: class reproA.A.B base type must be class or interface, not
void

C:\Users\Stewart\Documents\Programming\D\Tests\bugs>dmd bz3170b.d
bz3170b.d(9): Error: class reproB.C is forward referenced when looking for 'D'
bz3170b.d(9): Error: class reproB.C is forward referenced when looking for 'D'
bz3170b.d(9): Error: class reproB.C is forward referenced when looking for 'D'
bz3170b.d(5): Error: no property 'D' for type 'reproB.C'
bz3170b.d(5): Error: C.D is used as a type
bz3170b.d(5): Error: class reproB.A.B base type must be class or interface, not
void

(DMD 1.045 Win)

-- 
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