September 26, 2011 [Issue 6731] New: [SafeD] AA .length property is not @safe/@trusted | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6731 Summary: [SafeD] AA .length property is not @safe/@trusted Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: dmitry.olsh@gmail.com --- Comment #0 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2011-09-26 07:53:24 PDT --- 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' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 26, 2011 [Issue 6731] [SafeD] AA .length property is not @safe/@trusted | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dmitry Olshansky | http://d.puremagic.com/issues/show_bug.cgi?id=6731 Dmitry Olshansky <dmitry.olsh@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2011-09-26 07:55:45 PDT --- *** This issue has been marked as a duplicate of issue 6357 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation