Summary: Invalid error message: Forward reference of interface
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Andrej Mitrovic <> 2012-09-19 
16:51:58 PDT ---
interface InterBase : InterRoot { }
class Base : InterBase { }

void test(Base.Invalid) { }

interface InterRoot { }

2.060: test.d(3): Error: interface test.InterBase base InterRoot is forward

This message is printed about 20 times. In earlier versions it goes into an
infinite loop. The real error message should be:

test.d(6): Error: no property 'Invalid' for type 'test.Base'
test.d(6): Error: Base.Invalid is used as a type

You can verify this by replacing "class Base : InterBase" with "class Base :

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

Reply via email to