[Pharo-project] Implementing a Timer: "newProcessWith: anArray" fails

Igor Stasenko siguctua at gmail.com
Mon Oct 18 06:27:05 EDT 2010


It works for me:

([:foo | foo + 1 ] newProcessWith: #(10)) resume

and

([:foo | foo + 1 ] newProcessWith: {10}) resume

works as well.

Try put

self assert: processBlock argumentCount == 1

in pvtStartProcess.


-- 
Best regards,
Igor Stasenko AKA sig.




More information about the Pharo-dev mailing list