pxt-common-packages 12.3.25 → 12.3.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- // total=11974 new=73.53% cached=0.00% other=26.47%
1
+ // total=12137 new=73.89% cached=0.00% other=26.11%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -123,7 +123,7 @@ switch (step) {
123
123
  s.lambdaArgs = null;
124
124
  }
125
125
  r0 = s.arg0;
126
- if (!checkSubtype(r0, datalogger_FileStorage__C59455_VT)) failedCast(r0);
126
+ if (!checkSubtype(r0, datalogger_FileStorage__C59455_VT)) failedCast(r0, datalogger_FileStorage__C59455_VT);
127
127
  r0 = undefined;
128
128
  r0 = (s.arg0).fields["filename"] = (s.arg1);
129
129
  r0 = undefined;
@@ -160,7 +160,7 @@ switch (step) {
160
160
  s.lambdaArgs = null;
161
161
  }
162
162
  r0 = s.arg0;
163
- if (!checkSubtype(r0, datalogger_Storage__C59417_VT)) failedCast(r0);
163
+ if (!checkSubtype(r0, datalogger_Storage__C59417_VT)) failedCast(r0, datalogger_Storage__C59417_VT);
164
164
  r0 = undefined;
165
165
  return leave(s, r0)
166
166
  default: oops()
@@ -274,7 +274,7 @@ switch (step) {
274
274
  if (!r0) { step = 3; continue; }
275
275
  s.tmp_2 = datalogger_Storage__C59417_v0_1_mk(s);
276
276
  s.tmp_2.arg0 = globals._storage___59430;
277
- if (!checkSubtype(s.tmp_2.arg0, datalogger_Storage__C59417_VT)) failedCast(s.tmp_2.arg0);
277
+ if (!checkSubtype(s.tmp_2.arg0, datalogger_Storage__C59417_VT)) failedCast(s.tmp_2.arg0, datalogger_Storage__C59417_VT);
278
278
  s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.flush;
279
279
  s.pc = 5; return s.tmp_2;
280
280
  case 5:
@@ -316,7 +316,7 @@ switch (step) {
316
316
  s.lambdaArgs = null;
317
317
  }
318
318
  r0 = s.arg0;
319
- if (!checkSubtype(r0, datalogger_Storage__C59417_VT)) failedCast(r0);
319
+ if (!checkSubtype(r0, datalogger_Storage__C59417_VT)) failedCast(r0, datalogger_Storage__C59417_VT);
320
320
  r0 = undefined;
321
321
  return leave(s, r0)
322
322
  default: oops()
@@ -350,7 +350,7 @@ switch (step) {
350
350
  s.lambdaArgs = null;
351
351
  }
352
352
  r0 = s.arg0;
353
- if (!checkSubtype(r0, datalogger_FileStorage__C59455_VT)) failedCast(r0);
353
+ if (!checkSubtype(r0, datalogger_FileStorage__C59455_VT)) failedCast(r0, datalogger_FileStorage__C59455_VT);
354
354
  r0 = undefined;
355
355
  return leave(s, r0)
356
356
  default: oops()
@@ -1,4 +1,4 @@
1
- // total=81265 new=93.95% cached=0.00% other=6.05%
1
+ // total=81416 new=93.97% cached=0.00% other=6.03%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -397,7 +397,7 @@ switch (step) {
397
397
  s.lambdaArgs = null;
398
398
  }
399
399
  r0 = s.arg0;
400
- if (!checkSubtype(r0, esp32_NinaController__C109014_VT)) failedCast(r0);
400
+ if (!checkSubtype(r0, esp32_NinaController__C109014_VT)) failedCast(r0, esp32_NinaController__C109014_VT);
401
401
  r0 = (s.arg0).fields["_spi"] = (s.arg1);
402
402
  r0 = (s.arg0).fields["_cs"] = (s.arg2);
403
403
  r0 = (s.arg0).fields["_busy"] = (s.arg3);
@@ -475,7 +475,7 @@ switch (step) {
475
475
  s.lambdaArgs = null;
476
476
  }
477
477
  r0 = s.arg0;
478
- if (!checkSubtype(r0, esp32_NinaController__C109014_VT)) failedCast(r0);
478
+ if (!checkSubtype(r0, esp32_NinaController__C109014_VT)) failedCast(r0, esp32_NinaController__C109014_VT);
479
479
  r0 = s.arg0.fields["_gpio0"];
480
480
  s.tmp_0 = r0;
481
481
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -563,7 +563,7 @@ switch (step) {
563
563
  s.lambdaArgs = null;
564
564
  }
565
565
  r0 = s.arg0;
566
- if (!checkSubtype(r0, esp32_NinaController__C109014_VT)) failedCast(r0);
566
+ if (!checkSubtype(r0, esp32_NinaController__C109014_VT)) failedCast(r0, esp32_NinaController__C109014_VT);
567
567
  r0 = pxsim_numops_toBoolDecr(s.arg1);
568
568
  s.tmp_1 = r0;
569
569
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -704,7 +704,7 @@ switch (step) {
704
704
  s.lambdaArgs = null;
705
705
  }
706
706
  r0 = s.arg0;
707
- if (!checkSubtype(r0, net_Controller__C108770_VT)) failedCast(r0);
707
+ if (!checkSubtype(r0, net_Controller__C108770_VT)) failedCast(r0, net_Controller__C108770_VT);
708
708
  r0 = (s.arg0).fields["_isConnected"] = (false);
709
709
  s.tmp_0 = r0 = s.arg0;
710
710
  s.tmp_2 = control_allocateEventSource__P108514_mk(s);
@@ -1717,7 +1717,7 @@ switch (step) {
1717
1717
  s.lambdaArgs = null;
1718
1718
  }
1719
1719
  r0 = s.arg0;
1720
- if (!checkSubtype(r0, net_Net__C108839_VT)) failedCast(r0);
1720
+ if (!checkSubtype(r0, net_Net__C108839_VT)) failedCast(r0, net_Net__C108839_VT);
1721
1721
  r0 = (s.arg0).fields["factory"] = (s.arg1);
1722
1722
  globals.net_Net_instance___108845 = (s.arg0);
1723
1723
  r0 = (s.arg0).fields["_controller"] = (undefined);