diff options
author | Li Jin <dragon-fly@qq.com> | 2023-08-30 09:14:22 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-08-30 09:14:22 +0800 |
commit | 103fd0646eb83898b37398731f90e2dc277ac2d8 (patch) | |
tree | 8df80ca45af367df676f322bde03883fbb93df62 /spec/outputs/import.lua | |
parent | ed718b7b6754379b9471830b1cc5241a2fd0f941 (diff) | |
download | yuescript-103fd0646eb83898b37398731f90e2dc277ac2d8.tar.gz yuescript-103fd0646eb83898b37398731f90e2dc277ac2d8.tar.bz2 yuescript-103fd0646eb83898b37398731f90e2dc277ac2d8.zip |
fix inline variable renaming.v0.19.2
Diffstat (limited to 'spec/outputs/import.lua')
-rw-r--r-- | spec/outputs/import.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/outputs/import.lua b/spec/outputs/import.lua index 19d332a..02fe42a 100644 --- a/spec/outputs/import.lua +++ b/spec/outputs/import.lua | |||
@@ -1,8 +1,8 @@ | |||
1 | local hello = yeah.hello | 1 | local hello = yeah.hello |
2 | local holla, world | 2 | local holla, world |
3 | do | 3 | do |
4 | local _obj_0 = table["cool"] | 4 | local _obj_1 = table["cool"] |
5 | holla, world = _obj_0.holla, _obj_0.world | 5 | holla, world = _obj_1.holla, _obj_1.world |
6 | end | 6 | end |
7 | local x, y, z = items.x, (function() | 7 | local x, y, z = items.x, (function() |
8 | local _base_0 = items | 8 | local _base_0 = items |
@@ -13,9 +13,9 @@ local x, y, z = items.x, (function() | |||
13 | end)(), items.z | 13 | end)(), items.z |
14 | local master, ghost | 14 | local master, ghost |
15 | do | 15 | do |
16 | local _obj_0 = find("mytable") | 16 | local _obj_1 = find("mytable") |
17 | master, ghost = _obj_0.master, (function() | 17 | master, ghost = _obj_1.master, (function() |
18 | local _base_0 = _obj_0 | 18 | local _base_0 = _obj_1 |
19 | local _fn_0 = _base_0.ghost | 19 | local _fn_0 = _base_0.ghost |
20 | return _fn_0 and function(...) | 20 | return _fn_0 and function(...) |
21 | return _fn_0(_base_0, ...) | 21 | return _fn_0(_base_0, ...) |