diff options
author | Li Jin <dragon-fly@qq.com> | 2023-05-17 09:19:20 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-05-17 09:19:20 +0800 |
commit | 78d5e6f44c06ac24aee667b5f9a9e642dcc6208d (patch) | |
tree | 78913f601c44a1d85e275a30e4a1272fee00c4cb /spec/outputs/attrib.lua | |
parent | a8c4737494818e6591cac2191bf3a49cbe990173 (diff) | |
download | yuescript-78d5e6f44c06ac24aee667b5f9a9e642dcc6208d.tar.gz yuescript-78d5e6f44c06ac24aee667b5f9a9e642dcc6208d.tar.bz2 yuescript-78d5e6f44c06ac24aee667b5f9a9e642dcc6208d.zip |
fix issue #133.
Diffstat (limited to 'spec/outputs/attrib.lua')
-rw-r--r-- | spec/outputs/attrib.lua | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/spec/outputs/attrib.lua b/spec/outputs/attrib.lua index aed549d..fbac28e 100644 --- a/spec/outputs/attrib.lua +++ b/spec/outputs/attrib.lua | |||
@@ -32,21 +32,17 @@ do | |||
32 | end)() | 32 | end)() |
33 | local b <close> = (function() | 33 | local b <close> = (function() |
34 | if not false then | 34 | if not false then |
35 | return ((function() | 35 | if x then |
36 | if x then | 36 | return 1 |
37 | return 1 | 37 | end |
38 | end | ||
39 | end)()) | ||
40 | end | 38 | end |
41 | end)() | 39 | end)() |
42 | local c <const> = (function() | 40 | local c <const> = (function() |
43 | if true then | 41 | if true then |
44 | return ((function() | 42 | local _exp_0 = x |
45 | local _exp_0 = x | 43 | if "abc" == _exp_0 then |
46 | if "abc" == _exp_0 then | 44 | return 998 |
47 | return 998 | 45 | end |
48 | end | ||
49 | end)()) | ||
50 | end | 46 | end |
51 | end)() | 47 | end)() |
52 | local d <close> = (function() | 48 | local d <close> = (function() |