recompiling error message
Tim Olson
tim at jumpnet.com
Thu Jul 22 11:53:08 UTC 1999
Wallace Chigona wrote:
>
> Hi,
> After making changes to a class (adding or removing variables) and "accept" it, Squeak may give this message "recompiling MyUselessClass ... (myVariable is Undeclared) done". What I don't like about this error message is
> that it doesn't tell me in which method(s) is "myVariable". Is there a squeaker way of finding the affected methods without going through them all?
Yep! On the root window menu, choose "do...", then "Undeclared inspect"
(or "Undeclared removeUnreferencedKeys; inspect". This will pop up an
inspector showing all the undeclared variables in the system. Select
the one of interest, and choose "references" from the menu; it will pop
up a method browser with a list of all the methods in the system that
reference the variable.
-- tim
More information about the Squeak-dev
mailing list
|