kopia lustrzana https://github.com/backface/turtlestitch
tweaked outer script variable scope for TELL/ASK and OF
rodzic
d6cca62618
commit
dca7edcab4
|
@ -4270,3 +4270,7 @@ Translation Updates:
|
|||
* GUI: added support for "&lang:nn" url parameter, made it non-permanent
|
||||
* Threads: fixed outer script variable scope for TELL/ASK and OF
|
||||
* Tools: fixed JOIN WORDS and LIST -> SENTENCE
|
||||
|
||||
180711
|
||||
------
|
||||
* Threads: tweaked outer script variable scope for TELL/ASK and OF
|
||||
|
|
|
@ -62,7 +62,7 @@ StageMorph, SpriteMorph, StagePrompterMorph, Note, modules, isString, copy,
|
|||
isNil, WatcherMorph, List, ListWatcherMorph, alert, console, TableMorph,
|
||||
TableFrameMorph, ColorSlotMorph, isSnapObject*/
|
||||
|
||||
modules.threads = '2018-July-11';
|
||||
modules.threads = '2018-July-12';
|
||||
|
||||
var ThreadManager;
|
||||
var Process;
|
||||
|
@ -3402,6 +3402,8 @@ Process.prototype.reportContextFor = function (context, otherObj) {
|
|||
result.outerContext.variables = copy(result.outerContext.variables);
|
||||
result.outerContext.receiver = otherObj;
|
||||
if (result.outerContext.variables.parentFrame) {
|
||||
result.outerContext.variables.parentFrame =
|
||||
copy(result.outerContext.variables.parentFrame);
|
||||
result.outerContext.variables.parentFrame.parentFrame =
|
||||
otherObj.variables;
|
||||
} else {
|
||||
|
|
Ładowanie…
Reference in New Issue