keith_hodges at yahoo.co.uk
Wed Jan 2 15:47:27 UTC 2008
> Interesting that current compiler barfs on code past the return
> statement, saying that there's nothing expected after return.
> I don't like such behavior: Sometimes i need to stub-out some code, to
I agree with you entirely on this one.
Does anyone have any idea as to how to implement this?
> test/debug methods, and i can't simply put ^self in the very beginning
> of method (it forces me to put '[^self] value' instead, just to get
> around such 'cleverness' of compiler ).
> Very inconvenient and useless feature, as for me, and it can be simply
> replaced by ignoring any input instead.
More information about the Squeak-dev