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=81323 new=93.99% cached=0.00% other=6.01%
1
+ // total=81474 new=94.00% cached=0.00% other=6.00%
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__C138027_VT)) failedCast(r0);
400
+ if (!checkSubtype(r0, esp32_NinaController__C138027_VT)) failedCast(r0, esp32_NinaController__C138027_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__C138027_VT)) failedCast(r0);
478
+ if (!checkSubtype(r0, esp32_NinaController__C138027_VT)) failedCast(r0, esp32_NinaController__C138027_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__C138027_VT)) failedCast(r0);
566
+ if (!checkSubtype(r0, esp32_NinaController__C138027_VT)) failedCast(r0, esp32_NinaController__C138027_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__C137783_VT)) failedCast(r0);
707
+ if (!checkSubtype(r0, net_Controller__C137783_VT)) failedCast(r0, net_Controller__C137783_VT);
708
708
  r0 = (s.arg0).fields["_isConnected"] = (false);
709
709
  s.tmp_0 = r0 = s.arg0;
710
710
  s.tmp_2 = control_allocateEventSource__P137527_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__C137852_VT)) failedCast(r0);
1720
+ if (!checkSubtype(r0, net_Net__C137852_VT)) failedCast(r0, net_Net__C137852_VT);
1721
1721
  r0 = (s.arg0).fields["factory"] = (s.arg1);
1722
1722
  globals.net_Net_instance___137858 = (s.arg0);
1723
1723
  r0 = (s.arg0).fields["_controller"] = (undefined);