help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] variable scoping (was Re: compiling method attribut


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] variable scoping (was Re: compiling method attributes)
Date: Tue, 02 Jan 2007 09:04:54 +0100
User-agent: Thunderbird 1.5.0.9 (Macintosh/20061207)


With this patch:

st> [UndefinedObject compile: 'scTest |a| a := 2. [:a | a] value. ^a']
        on: Warning
        do: [:w | w messageText printNl. w resume]!
'variable ''a'' shadows another'

Applied (and mirrored!).

I would love to be working with arch, but...see
<address@hidden>, or
'command-line-dependent compiler "error"' for more.

It should be fixed now:

http://www.mail-archive.com/address@hidden/msg00929.html

(that patch in turn had a bug -- but the arch trunk should be fine, both 2.3 and the development tree).

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]