disabled empty-slot implicit parameter in FOREACH

pull/95/head
jmoenig 2021-03-15 12:13:13 +01:00
rodzic 0ee3f07bbb
commit d239d4de24
3 zmienionych plików z 6 dodań i 3 usunięć

Wyświetl plik

@ -2,6 +2,8 @@
## in development:
* **Notable Changes:**
* disabled empty-slot implicit parameter in FOREACH
* **Notable Fixes:**
* fixed "transpose" in the APL library, thanks, Brian!
* **Translation Updates:**
@ -11,6 +13,7 @@
* new dev version
* Catalan translation update, thanks, Joan!
* lists, apl: fixed "transpose", thanks, Brian!
* threads: disabled empty-slot implicit parameter in FOREACH
## 6.7.1
* **Notable Fixes:**

Wyświetl plik

@ -9,7 +9,7 @@
<script src="src/symbols.js?version=2021-03-03"></script>
<script src="src/widgets.js?version=2021-01-05"></script>
<script src="src/blocks.js?version=2021-02-27"></script>
<script src="src/threads.js?version=2021-03-02"></script>
<script src="src/threads.js?version=2021-03-15"></script>
<script src="src/objects.js?version=2021-03-09"></script>
<script src="src/gui.js?version=2021-03-15"></script>
<script src="src/paint.js?version=2020-05-17"></script>

Wyświetl plik

@ -61,7 +61,7 @@ StageMorph, SpriteMorph, StagePrompterMorph, Note, modules, isString, copy, Map,
isNil, WatcherMorph, List, ListWatcherMorph, alert, console, TableMorph, BLACK,
TableFrameMorph, ColorSlotMorph, isSnapObject, newCanvas, Symbol, SVG_Costume*/
modules.threads = '2021-March-02';
modules.threads = '2021-March-15';
var ThreadManager;
var Process;
@ -2610,7 +2610,7 @@ Process.prototype.doForEach = function (upvar, list, script) {
this.pushContext();
this.context.outerContext.variables.addVar(upvar);
this.context.outerContext.variables.setVar(upvar, next);
this.evaluate(script, new List([next]), true);
this.evaluate(script, new List(/*[next]*/), true);
};
Process.prototype.doFor = function (upvar, start, end, script) {