[Issue 1162] New: Access to static field in inherited class is not	possible with base class qualifier.
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Apr 18 02:10:50 PDT 2007
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=1162
           Summary: Access to static field in inherited class is not
                    possible with base class qualifier.
           Product: D
           Version: 1.012
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: aarti at interia.pl
---------------
module static_a;
import static_b;
class TestChild : Test {
    void testfunction() {
        Test.counter=6;
    }
}
void main() {
}
---------------
module static_b;
class Test {
protected:
    static int counter=0;
}
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list