[Issue 7577] Delegate implicitly marked as system

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 19 00:42:28 PST 2013


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


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2013-02-19 00:42:10 PST ---
(In reply to comment #1)
> A.fun is not marked as @safe, so {auto r = a.fun(b);} inferred as @system.
> Then delegate inference has no problem.
> 
> Additionally, std.datetime.benchmark requires that its arguments fun are @safe.
> I don't know why that.

Hmm, my comment was not correct, and probably a compiler bug had been there.
But, it works with 2.062. Compiler bug seems already be fixed.

-- 
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