[Issue 6646] [SafeD] array.reserve is not @safe/trusted

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 9 11:47:54 PDT 2013


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


monarchdodra at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


--- Comment #10 from monarchdodra at gmail.com 2013-09-09 11:47:53 PDT ---
It's not fixed, because reserve is not @safe 100% of the time either.

> Shouldn't auto-inference help + local @trusted/nothrow lambdas to encapsulate
dangerous code?

The problem is that everything is run in druntime, as an non-template extern(C)
call to a function that takes a TypeInfo. So no inference here.

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


More information about the Digitalmars-d-bugs mailing list