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/do.lua | |
parent | a8c4737494818e6591cac2191bf3a49cbe990173 (diff) | |
download | yuescript-78d5e6f44c06ac24aee667b5f9a9e642dcc6208d.tar.gz yuescript-78d5e6f44c06ac24aee667b5f9a9e642dcc6208d.tar.bz2 yuescript-78d5e6f44c06ac24aee667b5f9a9e642dcc6208d.zip |
fix issue #133.
Diffstat (limited to 'spec/outputs/do.lua')
-rw-r--r-- | spec/outputs/do.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/outputs/do.lua b/spec/outputs/do.lua index 96d1022..6473e03 100644 --- a/spec/outputs/do.lua +++ b/spec/outputs/do.lua | |||
@@ -32,10 +32,10 @@ local t = { | |||
32 | } | 32 | } |
33 | return function(y, k) | 33 | return function(y, k) |
34 | if y == nil then | 34 | if y == nil then |
35 | y = ((function() | 35 | do |
36 | x = 10 + 2 | 36 | x = 10 + 2 |
37 | return x | 37 | y = x |
38 | end)()) | 38 | end |
39 | end | 39 | end |
40 | if k == nil then | 40 | if k == nil then |
41 | do | 41 | do |