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


Lars T. Kyllingstad <bugzi...@kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzi...@kyllingen.net


--- Comment #1 from Lars T. Kyllingstad <bugzi...@kyllingen.net> 2010-11-09 
03:55:37 PST ---
(In reply to comment #0)
> While this code that looks correct doesn't compile:
> 
> 
> pure void foo(pure nothrow void delegate(int) callable) {
>     callable(5);
> }
> 
> [...]
> 
> With the first error:
> test1.d(1): basic type expected, not pure


Note that this works:

pure void foo(void delegate(int) pure nothrow callable) {
    callable(5);
}

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

Reply via email to