@@ -342,7 +342,7 @@ return Transformer({
342342 end
343343 end ,
344344 update = function (self , node )
345- local _ , name , op , exp = unpack (node )
345+ local name , op , exp = unpack (node , 2 )
346346 local op_final = op :match (" ^(.+)=$" )
347347 if not op_final then
348348 error (" Unknown op: " .. op )
@@ -361,7 +361,7 @@ return Transformer({
361361 })
362362 end ,
363363 import = function (self , node )
364- local _ , names , source = unpack (node )
364+ local names , source = unpack (node , 2 )
365365 local table_values
366366 do
367367 local _accum_0 = { }
@@ -402,7 +402,7 @@ return Transformer({
402402 }
403403 end ,
404404 comprehension = function (self , node , action )
405- local _ , exp , clauses = unpack (node )
405+ local exp , clauses = unpack (node , 2 )
406406 action = action or function (exp )
407407 return {
408408 exp
@@ -492,7 +492,7 @@ return Transformer({
492492 end ,
493493 [" if" ] = function (self , node , ret )
494494 if ntype (node [2 ]) == " assign" then
495- local _ , assign , body = unpack (node )
495+ local assign , body = unpack (node , 2 )
496496 if destructure .has_destructure (assign [2 ]) then
497497 local name = NameProxy (" des" )
498498 body = {
@@ -694,7 +694,7 @@ return Transformer({
694694 node .body = with_continue_listener (node .body )
695695 end ,
696696 switch = function (self , node , ret )
697- local _ , exp , conds = unpack (node )
697+ local exp , conds = unpack (node , 2 )
698698 local exp_name = NameProxy (" exp" )
699699 local convert_cond
700700 convert_cond = function (cond )
0 commit comments