Squeak vs. VW local block variables
Bob Arning
arning at charm.net
Tue Aug 24 15:46:12 UTC 1999
On Tue, 24 Aug 1999 08:22:21 -0400 "Daniel V. Oppenheim" <music at watson.ibm.com> wrote:
>Trying to port VisualWorks code into Squeak. Squeak doesn't support local
>block variables. Any workarounds apart from manually making the block
>variables into local variables? Any plans for adding local block variables
>in Squeak?
Danny,
As a short-term hack, you can try
http://www.charm.net/~arning/Refactoring%20current/VWCompiler.20Feb654pm.cs.txt
which allows block temps to file in without error. They are simply converted to method temps which is OK in some cases, but perhaps not in others. Longer-term, there is a project in the works to do the right thing (see Dan's message).
Cheers,
Bob
More information about the Squeak-dev
mailing list
|