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

           Summary: alias error in struct only for dmd1
           Product: D
           Version: D1
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: chang...@gmail.com


--- Comment #0 from changlon <chang...@gmail.com> 2011-12-01 23:51:08 PST ---
dmd 1.071 error .

struct Test1 {
    alias typeof(this) This;
    alias This* pThis;
    int number ;
    void Init(){
        static void Callback (void* user_data){
            pThis _this = cast(pThis) user_data;
            auto i = _this.number ;
        }
    }
}

------------
test.d(10): Error: no property 'number' for type 'Test1*'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to