[Issue 2202] New: Error getting type of non-static member of a class

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 8 01:07:44 PDT 2008


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

           Summary: Error getting type of non-static member of a class
           Product: D
           Version: 2.015
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: samukha at voliacable.com


The following fails with 'Error: this for x needs to be type C not type int':

class C
{
    int x;
}

typeof(C.x) z;


-- 



More information about the Digitalmars-d-bugs mailing list