← Back to index
|
Original Bugzilla link
Bug 6731 – [SafeD] AA .length property is not @safe/@trusted
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-09-26T07:53:00Z
Last change time
2011-09-26T07:55:45Z
Assigned to
nobody
Creator
dmitry.olsh
Comments
Comment #0
by dmitry.olsh — 2011-09-26T07:53:24Z
Test: @safe void foo() { int[int] m; assert(m.length == 0); } Fails on dmd 2.055 with: aa.d(6): Error: safe function 'foo' cannot call system function 'length'
Comment #1
by dmitry.olsh — 2011-09-26T07:55:45Z
*** This issue has been marked as a duplicate of issue 6357 ***