dropping a ring parameter inside a reporter-ring no longer replaces the ring

pull/89/head
jmoenig 2019-11-02 13:14:19 +01:00
rodzic ca64d528af
commit 197a7cee1b
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -5,6 +5,7 @@
* expanding the rings in "map", "keep" and "find" shows 3 inputs named "item", "idx" and "data"
* limited expanding rings in special HOFs to 3 parameters
* **Notable Changes:**
* dropping a ring parameter inside a reporter-ring no longer replaces the ring
* **Notable Fixes:**
* **Translation Updates:**
* German
@ -13,6 +14,7 @@
* blocks: limit expanding rings in special HOFs to 3 parameters
* blocks renamed default special HOF parameters to "item, index, list"
* updated German translation
* blocks: dropping a ring parameter inside a reporter-ring no longer replaces the ring
### 2019-11-01
* new dev version

Wyświetl plik

@ -6268,7 +6268,8 @@ RingMorph.prototype.vanishForSimilar = function () {
|| (this.parent instanceof RingCommandSlotMorph)) {
return null;
}
if (block.selector === 'reportGetVar' ||
if ((block.selector === 'reportGetVar' &&
!contains(this.inputNames(), block.blockSpec)) ||
// block.selector === 'reportListItem' ||
block.selector === 'reportJSFunction' ||
block.selector === 'reportAttributeOf' ||