[Issue 4982] New: Repeating same error message thousands of times due to brute forcing matching symbol name

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 2 21:37:54 PDT 2010


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

           Summary: Repeating same error message thousands of times due to
                    brute forcing matching symbol name
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: 2korden at gmail.com


--- Comment #0 from Koroskin Denis <2korden at gmail.com> 2010-10-02 21:37:35 PDT ---
class A
{
    Foo foo;
    // int someSymbol;
}

class B : A
{
}

alias typeof(&B.init.someSymbol) Foo;

Result:
test.d(6): Error: class test.B is forward referenced when looking for
'someSymboKl'
test.d(6): Error: class test.B is forward referenced when looking for
'someSymboLl'
test.d(6): Error: class test.B is forward referenced when looking for
'someSymboMl'
test.d(6): Error: class test.B is forward referenced when looking for
'someSymboNl'
test.d(6): Error: class test.B is forward referenced when looking for
'someSymboOl'
test.d(6): Error: class test.B is forward referenced when looking for
'someSymboPl'
test.d(6): Error: class test.B is forward referenced when looking for
'someSymboQl'
test.d(6): Error: class test.B is forward referenced when looking for
'someSymboRl'
test.d(6): Error: class test.B is forward referenced when looking for
'someSymboSl'
test.d(6): Error: class test.B is forward referenced when looking for
'someSymboTl'
...

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