Author: theraven
Date: Sun Dec 7 01:18:20 2008
New Revision: 4075
URL: http://svn.gna.org/viewcvs/etoile?rev=4075&view=rev
Log:
Fixed TestBlockAssignment.
Guenther:
With no explicit return, methods return nil - remember that ^self if you are
using the result in an assignment.
I changed the test so it shows the class of myBlock rather than aBlock.
myBlock is the return value from aBlock retain, which is a copy of the block on
the heap. The class of aBlock will be StackBlockClosure, not BlockClosure,
while the class of myBlock will be BlockClosure.
Modified:
branches/guenther/SmalltalkTests/TestBlockAssignment/test.st
_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs