Open
Description
What should this program print?
empty_block = (
run = (
[] value println.
)
)
Java SOM prints "instance of Block1". There's nothing wrong with that per se, but it wasn't what I was expecting because a) (at least as far as I know) blocks can't get access to their instances under normal circumstances b) methods return self
unless otherwise specified. I wondered if this was intentional or not? I couldn't find any obvious clues in Java SOM's source to indicate anything either way.