[etoys-dev] Issue - working textual code in an old project does not recompile

Bert Freudenberg bert at freudenbergs.de
Tue May 25 08:34:15 EDT 2010

On 25.05.2010, at 10:58, David Corking wrote:
> I came across  a possible issue.  I found a project where textual code
> would not compile, because Etoys couldn't
> resolve the name of a player to a class.

Just to be precise: it's not a class, just a "well-known" name for a particular Player.

> I opened this project of Bert's from 2008
> http://wiki.squeak.org/squeak/uploads/Carousel.pr
> with Etoys 4
> There is a textual script pane already open.  I made a small edit to
> it (changed one of the constants) and typed command-s to accept it.
> Squeak's pop-up menu for unrecognized names appeared: it didn't
> recognize Carousel.
> It seems the code itself was fine.  I was able to discard the script,
> and make a new one with the same name, and paste the code into it.  I
> could then edit and compile it to my heart's content, to modify the
> animation.
> I don't know enough about the compiler to fix it.  If you think this
> is an issue, I will post it in the bug tracker, and leave it to others
> to verify and perhaps fix.

It's a bug, definitely. However, it appears to have been fixed in the Etoys 4.1 dev image already. I tried the project there and changing the script worked fine.

- Bert -

More information about the etoys-dev mailing list