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

           Summary: is + alias this = wrong code
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Zhenya Chapovsky <[email protected]> 2013-01-06 05:55:10 PST ---
struct OhWhy(S) {
   S[] arr;
   alias arr this;
}

void main() {
    static assert(!is(OhWhy!float unused == T[],T));/*fails,but shouldn't
since struct OhWhy isn't an array */
}

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

Reply via email to