← Back to index
|
Original Bugzilla link
Bug 12214 – GIT HEAD: AA.length is not nothrow
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-02-20T20:04:00Z
Last change time
2014-02-21T09:45:59Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2014-02-20T20:04:06Z
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
Comment #1
by k.hara.pg — 2014-02-20T20:11:52Z
https://github.com/D-Programming-Language/dmd/pull/3305
Comment #2
by github-bugzilla — 2014-02-21T09:04:09Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/e5b7763a47c940bc870a27aff837debee688de51
fix Issue 12214 - AA.length is not nothrow
https://github.com/D-Programming-Language/dmd/commit/bda3bf3bddfc990a07a3fe83d9ca7e34161564d9
Merge pull request #3305 from 9rnsr/fix12214 [REG-head] Issue 12214 - AA.length is not nothrow