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


Andrej Mitrovic <andrej.mitrov...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrov...@gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2010-08-29 
19:11:49 PDT ---
I think this is a problem of the keyword pure trying to act as a type specifier
for the return type ( See also my bug 4734 for a similar issue).

If you put pure after the function definition but before the identifier, like
so:

pure int foo4(int function(int) pure func, int x) {

then your example compiles and all asserts pass.

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

Reply via email to