The assert works good.
processBlock numArgs. "returns 1 too"
I´m thinking perhaps the problem is Cog VM... it´s possible?
If I debug:
block := [ :int1 | | int2 | int2 := 2. int1 + int2 ].
block newProcessWith: { 2 }.
I get an SimulationGuardException exception...
--
View this message in context:
http://forum.world.st/Implementing-a-Timer-newProcessWith-anArray-fails-tp2999831p3000057.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project