bignum library: fixed IS IDENTICAL

snap7
jmoenig 2021-10-22 15:50:54 +02:00
rodzic f926c8f5a3
commit e73c5d0802
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -50,6 +50,7 @@
* blocks: tweaked blocks layout for hidden expansion slots
* blocks, objects, store, threads: made SEND blocks expandable for receivers and renamed them back to BROADCAST
* threads: deep copy atomic lists sent from one scene to another
* bignum library: fixed IS IDENTICAL
### 2021-10-21
* threads, objects: make "when I receive 'any message'" hat scripts threadsafe (uninterruptable by other messages)

Wyświetl plik

@ -266,7 +266,7 @@ function loadBlocks (useBigNums) {
reportIsIdentical: function (a, b) {
x = parseNumber(a);
y = parseNumber(b);
if (Number.isNaN(x) || Number.isNaN(y)) return originalPrims.reportIsIdentical(a, b);
if (Number.isNaN(x) || Number.isNaN(y)) return originalPrims.reportIsIdentical.call(this, a, b);
return fn['='](x, y);
},
reportMonadic: function (fname, n) {