[Issue 12038] New: alias this and &this cause ICE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 29 23:38:03 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12038

           Summary: alias this and &this cause ICE
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: thecybershadow at gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-01-30 09:38:00 EET ---
bool f(void* p);

struct S
{
    @property p() { f(&this); }
    alias p this;
}

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


More information about the Digitalmars-d-bugs mailing list