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

           Summary: GIT HEAD: AA.length is not nothrow
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Kenji Hara <[email protected]> 2014-02-20 20:04:06 PST ---
From: http://forum.dlang.org/thread/[email protected]

Test case:

void main() pure nothrow
{
    int[int] aa;
    auto n = aa.length;
}

---
test.d(4): Error: '_aaLen' is not nothrow
test.d(1): Error: function 'D main' is nothrow yet may throw

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

Reply via email to