diff options
author | Li Jin <dragon-fly@qq.com> | 2023-11-19 04:01:01 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-11-19 04:01:01 +0800 |
commit | cd827731ca155f198d26b61a0965469560e1bb34 (patch) | |
tree | 7bf3bc40ab1f09f5c44518370f5c82d0ebbf1709 /spec/outputs/whitespace.lua | |
parent | 9dedf0f5172dd653c1d3f34b303d8bd9f5d427bd (diff) | |
download | yuescript-0.20.7.tar.gz yuescript-0.20.7.tar.bz2 yuescript-0.20.7.zip |
make function call args a consistent behavior with table list.v0.20.7
Diffstat (limited to 'spec/outputs/whitespace.lua')
-rw-r--r-- | spec/outputs/whitespace.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/outputs/whitespace.lua b/spec/outputs/whitespace.lua index 1bc4503..0251968 100644 --- a/spec/outputs/whitespace.lua +++ b/spec/outputs/whitespace.lua | |||
@@ -77,6 +77,18 @@ end | |||
77 | a(one, two, three) | 77 | a(one, two, three) |
78 | b(one, two, three) | 78 | b(one, two, three) |
79 | c(one, two, three, four) | 79 | c(one, two, three, four) |
80 | d(one, two, three, four) | ||
81 | e(function() end, function() end, function() end) | ||
82 | e({ | ||
83 | function() end, | ||
84 | function() end, | ||
85 | function() end | ||
86 | }) | ||
87 | e({ | ||
88 | function() end, | ||
89 | function() end, | ||
90 | function() end | ||
91 | }) | ||
80 | local v | 92 | local v |
81 | v = function() | 93 | v = function() |
82 | return a, b, c | 94 | return a, b, c |