On Thu, 2007-03-29 at 10:01 +0200, Paolo Bonzini wrote:
> One known bug is that it is possible to use "#{a}"
> on the automatically defined temporaries (because
> they are actually globals in this implementation).
> Please let me know if you thing this bug/feature
> should be kept.

I'd call it a feature, unless the scripting syntax will make it possible
for method definitions to refer to "lexical globals":

st> a := 42.
st> Object subclass: Everything [
        Class current [
            ^a]]
st> Everything current printNl.
42

Sorry if I got the syntax wrong, but hopefully you see it.

-- 
;;; Stephen Compall ** http://scompall.nocandysw.com/blog **
Failure to imagine vast possibilities usually stems from a lack of
imagination, not a lack of possibility.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to