[QUESTION?] Scope (visibility) of variables declared in blocks?
Lex Spoon
lex at cc.gatech.edu
Mon Feb 26 14:45:47 UTC 2001
Bob Arning <arning at charm.net> wrote:
> The changes you originally sent and the one you attached to your latest email are in both 3.0 and 3.1. The "fix got undone" part was to allow out-of-scope references to be inspected. Otherwise the debugger lost some of its utility. In both 3.0 and 3.1, actually trying to compile a method
>
> mumble
>
> self do: [ :i | ].
> i inspect
>
> results in
>
> mumble
>
> self do: [ :i | ].
> out of scope ->i inspect
>
Ahhh, super.
-Lex
More information about the Squeak-dev
mailing list
|