... because making that image involved a recompilation of all methods in the system. But it appears Player subclasses do not like that. See below. Any idea how to fix that, and prevent it from happening again?
- Bert -
Begin forwarded message:
From: "Bert Freudenberg (JIRA)" tracker@squeakland.org Date: 30. April 2010 12:09:15 MESZ To: bert@freudenbergs.de Subject: [JIRA] Created: (SQ-699) Recompile breaks textual scripts
Recompile breaks textual scripts
Key: SQ-699 URL: http://tracker.squeakland.org/browse/SQ-699 Project: squeakland Issue Type: Bug Components: etoys Reporter: Bert Freudenberg Priority: Blocker Fix For: etoys 2010
Run Etoys 4. From the world's viewer, execute the "setTextVersion" script. No error.
Open a workspace, execute "Player withAllSubclassesDo: [:cls | cls compileAll]".
Start the "setTextVersion" again. Boom.
It appears that recompiling Player subclasses moves references to Undeclared, running the script again sees nil instead of the referenced players. What can we do about that?
At Fri, 30 Apr 2010 12:15:17 +0200, Bert Freudenberg wrote:
... because making that image involved a recompilation of all methods in the system. But it appears Player subclasses do not like that. See below. Any idea how to fix that, and prevent it from happening again?
Ah... Because such Player references are project local, such (re)compilation needs to have the reference to the PasteUpMorphs that the Players were in.
But the idea of the dev image is not to have any uniclass in it?
-- Yoshiki
On 30.04.2010, at 12:33, Yoshiki Ohshima wrote:
At Fri, 30 Apr 2010 12:15:17 +0200, Bert Freudenberg wrote:
... because making that image involved a recompilation of all methods in the system. But it appears Player subclasses do not like that. See below. Any idea how to fix that, and prevent it from happening again?
Ah... Because such Player references are project local, such (re)compilation needs to have the reference to the PasteUpMorphs that the Players were in.
I see.
How about gathering all such bindings from the old compiled method, and make them available to the encoder?
But the idea of the dev image is not to have any uniclass in it?
My idea of a dev image is to be as close to a shipping image as possible :)
- Bert -
etoys-dev@lists.squeakfoundation.org