diff options
author | Li Jin <dragon-fly@qq.com> | 2023-03-23 15:52:16 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-03-23 15:52:16 +0800 |
commit | 694068b6dc92269b0221d671bf15b5965ccddff7 (patch) | |
tree | 6e8341fed267bbac4a8ec819937f983eecab41c9 /spec/outputs/destructure.lua | |
parent | 5337b7ed406bfe6c545ae106cedcdd893bd76a99 (diff) | |
download | yuescript-694068b6dc92269b0221d671bf15b5965ccddff7.tar.gz yuescript-694068b6dc92269b0221d671bf15b5965ccddff7.tar.bz2 yuescript-694068b6dc92269b0221d671bf15b5965ccddff7.zip |
fixing Linux build.
Diffstat (limited to 'spec/outputs/destructure.lua')
-rw-r--r-- | spec/outputs/destructure.lua | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/spec/outputs/destructure.lua b/spec/outputs/destructure.lua index cb0eb3f..25e0529 100644 --- a/spec/outputs/destructure.lua +++ b/spec/outputs/destructure.lua | |||
@@ -478,8 +478,8 @@ do | |||
478 | end | 478 | end |
479 | do | 479 | do |
480 | local _exp_0 = tb | 480 | local _exp_0 = tb |
481 | local _tab_0 = type(_exp_0) | 481 | local _type_0 = type(_exp_0) |
482 | _tab_0 = "table" == _tab_0 or "userdata" == _tab_0 | 482 | local _tab_0 = "table" == _type_0 or "userdata" == _type_0 |
483 | if _tab_0 then | 483 | if _tab_0 then |
484 | local name, meta_field | 484 | local name, meta_field |
485 | do | 485 | do |
@@ -537,17 +537,17 @@ do | |||
537 | end | 537 | end |
538 | do | 538 | do |
539 | local _exp_0 = tb | 539 | local _exp_0 = tb |
540 | local _tab_0 = type(_exp_0) | 540 | local _type_0 = type(_exp_0) |
541 | _tab_0 = "table" == _tab_0 or "userdata" == _tab_0 | 541 | local _tab_0 = "table" == _type_0 or "userdata" == _type_0 |
542 | if _tab_0 then | 542 | if _tab_0 then |
543 | do | 543 | do |
544 | local _obj_0 = _exp_0.a | 544 | local _obj_0 = _exp_0.a |
545 | local _type_0 = type(_obj_0) | 545 | local _type_1 = type(_obj_0) |
546 | if "table" == _type_0 or "userdata" == _type_0 then | 546 | if "table" == _type_1 or "userdata" == _type_1 then |
547 | do | 547 | do |
548 | local _obj_1 = getmetatable(_obj_0) | 548 | local _obj_1 = getmetatable(_obj_0) |
549 | local _type_1 = type(_obj_1) | 549 | local _type_2 = type(_obj_1) |
550 | if "table" == _type_1 or "userdata" == _type_1 then | 550 | if "table" == _type_2 or "userdata" == _type_2 then |
551 | add = _obj_1.__add | 551 | add = _obj_1.__add |
552 | end | 552 | end |
553 | end | 553 | end |
@@ -555,12 +555,12 @@ do | |||
555 | end | 555 | end |
556 | do | 556 | do |
557 | local _obj_0 = _exp_0.b | 557 | local _obj_0 = _exp_0.b |
558 | local _type_0 = type(_obj_0) | 558 | local _type_1 = type(_obj_0) |
559 | if "table" == _type_0 or "userdata" == _type_0 then | 559 | if "table" == _type_1 or "userdata" == _type_1 then |
560 | do | 560 | do |
561 | local _obj_1 = getmetatable(_obj_0) | 561 | local _obj_1 = getmetatable(_obj_0) |
562 | local _type_1 = type(_obj_1) | 562 | local _type_2 = type(_obj_1) |
563 | if "table" == _type_1 or "userdata" == _type_1 then | 563 | if "table" == _type_2 or "userdata" == _type_2 then |
564 | field = _obj_1[fieldName] | 564 | field = _obj_1[fieldName] |
565 | end | 565 | end |
566 | end | 566 | end |
@@ -577,17 +577,17 @@ do | |||
577 | end | 577 | end |
578 | do | 578 | do |
579 | local _exp_0 = tb | 579 | local _exp_0 = tb |
580 | local _tab_0 = type(_exp_0) | 580 | local _type_0 = type(_exp_0) |
581 | _tab_0 = "table" == _tab_0 or "userdata" == _tab_0 | 581 | local _tab_0 = "table" == _type_0 or "userdata" == _type_0 |
582 | if _tab_0 then | 582 | if _tab_0 then |
583 | do | 583 | do |
584 | local _obj_0 = _exp_0.c | 584 | local _obj_0 = _exp_0.c |
585 | local _type_0 = type(_obj_0) | 585 | local _type_1 = type(_obj_0) |
586 | if "table" == _type_0 or "userdata" == _type_0 then | 586 | if "table" == _type_1 or "userdata" == _type_1 then |
587 | do | 587 | do |
588 | local _obj_1 = getmetatable(_obj_0) | 588 | local _obj_1 = getmetatable(_obj_0) |
589 | local _type_1 = type(_obj_1) | 589 | local _type_2 = type(_obj_1) |
590 | if "table" == _type_1 or "userdata" == _type_1 then | 590 | if "table" == _type_2 or "userdata" == _type_2 then |
591 | meta_field = _obj_1["abc"] | 591 | meta_field = _obj_1["abc"] |
592 | end | 592 | end |
593 | end | 593 | end |
@@ -600,15 +600,15 @@ do | |||
600 | local _obj_0 = getmetatable(_exp_0) | 600 | local _obj_0 = getmetatable(_exp_0) |
601 | do | 601 | do |
602 | local _obj_1 = _obj_0[ [[any string]]] | 602 | local _obj_1 = _obj_0[ [[any string]]] |
603 | local _type_0 = type(_obj_1) | 603 | local _type_1 = type(_obj_1) |
604 | if "table" == _type_0 or "userdata" == _type_0 then | 604 | if "table" == _type_1 or "userdata" == _type_1 then |
605 | abc = _obj_1.d | 605 | abc = _obj_1.d |
606 | end | 606 | end |
607 | end | 607 | end |
608 | do | 608 | do |
609 | local _obj_1 = _obj_0['str'] | 609 | local _obj_1 = _obj_0['str'] |
610 | local _type_0 = type(_obj_1) | 610 | local _type_1 = type(_obj_1) |
611 | if "table" == _type_0 or "userdata" == _type_0 then | 611 | if "table" == _type_1 or "userdata" == _type_1 then |
612 | def = _obj_1.e | 612 | def = _obj_1.e |
613 | end | 613 | end |
614 | end | 614 | end |