@@ -317,7 +317,7 @@ Statement = Transformer({
317317 declare_glob = function (self , node )
318318 local names = extract_declarations (self )
319319 if node [2 ] == " ^" then
320- names = ( function ()
320+ do
321321 local _accum_0 = { }
322322 local _len_0 = 1
323323 for _index_0 = 1 , # names do
@@ -337,8 +337,8 @@ Statement = Transformer({
337337 break
338338 end
339339 end
340- return _accum_0
341- end )()
340+ names = _accum_0
341+ end
342342 end
343343 return {
344344 " declare" ,
@@ -470,7 +470,8 @@ Statement = Transformer({
470470 end ,
471471 import = function (self , node )
472472 local _ , names , source = unpack (node )
473- local table_values = (function ()
473+ local table_values
474+ do
474475 local _accum_0 = { }
475476 local _len_0 = 1
476477 for _index_0 = 1 , # names do
@@ -491,8 +492,8 @@ Statement = Transformer({
491492 _accum_0 [_len_0 ] = _value_0
492493 _len_0 = _len_0 + 1
493494 end
494- return _accum_0
495- end )()
495+ table_values = _accum_0
496+ end
496497 local dest = {
497498 " table" ,
498499 table_values
@@ -566,9 +567,9 @@ Statement = Transformer({
566567 wrapped = build .group ({
567568 build .declare ({
568569 names = (function ()
569- local _list_0 = stm [2 ]
570570 local _accum_0 = { }
571571 local _len_0 = 1
572+ local _list_0 = stm [2 ]
572573 for _index_0 = 1 , # _list_0 do
573574 local name = _list_0 [_index_0 ]
574575 if type (name ) == " string" then
@@ -684,7 +685,7 @@ Statement = Transformer({
684685 smart_node (node )
685686 local source = unpack (node .iter )
686687 local destructures = { }
687- node . names = ( function ()
688+ do
688689 local _accum_0 = { }
689690 local _len_0 = 1
690691 for i , name in ipairs (node .names ) do
@@ -699,8 +700,8 @@ Statement = Transformer({
699700 end
700701 _len_0 = _len_0 + 1
701702 end
702- return _accum_0
703- end )()
703+ node . names = _accum_0
704+ end
704705 if next (destructures ) then
705706 insert (destructures , build .group (node .body ))
706707 node .body = destructures
@@ -862,7 +863,7 @@ Statement = Transformer({
862863 end
863864 end
864865 local constructor
865- properties = ( function ()
866+ do
866867 local _accum_0 = { }
867868 local _len_0 = 1
868869 for _index_0 = 1 , # properties do
@@ -886,8 +887,8 @@ Statement = Transformer({
886887 break
887888 end
888889 end
889- return _accum_0
890- end )()
890+ properties = _accum_0
891+ end
891892 local parent_cls_name = NameProxy (" parent" )
892893 local base_name = NameProxy (" base" )
893894 local self_name = NameProxy (" self" )
@@ -1066,13 +1067,17 @@ Statement = Transformer({
10661067 end
10671068 return self :set (" super" , function (block , chain )
10681069 if chain then
1069- local _list_0 = chain
1070- local slice = { }
1071- local _len_0 = 1
1072- for _index_0 = 3 , # _list_0 do
1073- local item = _list_0 [_index_0 ]
1074- slice [_len_0 ] = item
1075- _len_0 = _len_0 + 1
1070+ local slice
1071+ do
1072+ local _accum_0 = { }
1073+ local _len_0 = 1
1074+ local _list_0 = chain
1075+ for _index_0 = 3 , # _list_0 do
1076+ local item = _list_0 [_index_0 ]
1077+ _accum_0 [_len_0 ] = item
1078+ _len_0 = _len_0 + 1
1079+ end
1080+ slice = _accum_0
10761081 end
10771082 local new_chain = {
10781083 " chain" ,
0 commit comments