[Issue 5821] Calling spawn in std.concurrency without all the parameters required by void function(T) fn

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 4 22:57:23 PDT 2011


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |yebblies at gmail.com
         Resolution|                            |DUPLICATE


--- Comment #2 from yebblies <yebblies at gmail.com> 2011-06-04 22:52:55 PDT ---
With only the function pointer as an argument, spawn becomes:
void spawn(void function() fn)
and &fun is (incorrectly) implicitly converted to void function() fn.

*** This issue has been marked as a duplicate of issue 3797 ***

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