diff options
author | Li Jin <dragon-fly@qq.com> | 2025-04-11 17:33:12 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2025-04-11 17:33:12 +0800 |
commit | e96308912e2e04535836a2c282b0a7300d2d81fd (patch) | |
tree | 9c6f55dbce6193dac6f78dad94f76ad1c0a6ef1a /spec/outputs/attrib.lua | |
parent | 9750786a5c03b5ce3ea22b240d1b3cd34990856b (diff) | |
download | yuescript-0.27.4.tar.gz yuescript-0.27.4.tar.bz2 yuescript-0.27.4.zip |
Fixing issue #206.v0.27.4
Diffstat (limited to '')
-rw-r--r-- | spec/outputs/attrib.lua | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/spec/outputs/attrib.lua b/spec/outputs/attrib.lua index e48963c..bb9916c 100644 --- a/spec/outputs/attrib.lua +++ b/spec/outputs/attrib.lua | |||
@@ -56,17 +56,21 @@ do | |||
56 | end | 56 | end |
57 | local b | 57 | local b |
58 | if not false then | 58 | if not false then |
59 | if x then | 59 | b = ((function() |
60 | b = 1 | 60 | if x then |
61 | end | 61 | return 1 |
62 | end | ||
63 | end)()) | ||
62 | end | 64 | end |
63 | local _close_0 <close> = b | 65 | local _close_0 <close> = b |
64 | local c | 66 | local c |
65 | if true then | 67 | if true then |
66 | local _exp_0 = x | 68 | c = ((function() |
67 | if "abc" == _exp_0 then | 69 | local _exp_0 = x |
68 | c = 998 | 70 | if "abc" == _exp_0 then |
69 | end | 71 | return 998 |
72 | end | ||
73 | end)()) | ||
70 | end | 74 | end |
71 | local d | 75 | local d |
72 | if (function() | 76 | if (function() |