When I use Io-2006-12-07 (which presents itself as Io 20061114 in my
PPC Mac terminal window), I can do the following:
Io> b := block(x, (x+2) println)
==> block(x, (x +(2)) println)
Io> b(8)
==> block(x, (x +(2)) println)
Io> m := method(x, (x+2) println)
==> method(x, (x +(2)) println)
Io> m(8)
10
==> 10
As you can see, when I try to execute b(8), I only get the block b
back, no execution. I guess this is a bug.
When I do the same with a method, it works like in the old days.
/Jon
.