aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/using.moon
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2020-01-25 17:48:03 +0800
committerLi Jin <dragon-fly@qq.com>2020-01-25 17:48:03 +0800
commited317e62eb1cf98fde4461fc90c6cb1045ebc7e8 (patch)
tree427e365939da39f31dbfa755675fb60bb141583d /spec/inputs/using.moon
parent4827d200604a086e2ad94edb4257c3abc7a3c4fc (diff)
downloadyuescript-ed317e62eb1cf98fde4461fc90c6cb1045ebc7e8.tar.gz
yuescript-ed317e62eb1cf98fde4461fc90c6cb1045ebc7e8.tar.bz2
yuescript-ed317e62eb1cf98fde4461fc90c6cb1045ebc7e8.zip
fix Moonscript issue 375.
Diffstat (limited to 'spec/inputs/using.moon')
-rw-r--r--spec/inputs/using.moon16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/inputs/using.moon b/spec/inputs/using.moon
index cd78ba6..fe0a433 100644
--- a/spec/inputs/using.moon
+++ b/spec/inputs/using.moon
@@ -3,20 +3,20 @@ hello = "hello"
3world = "world" 3world = "world"
4 4
5_ = (using nil) -> 5_ = (using nil) ->
6 hello = 3223 6 hello = 3223
7 7
8_ = (a using nil) -> 8_ = (a using nil) ->
9 hello = 3223 9 hello = 3223
10 a = 323 10 a = 323
11 11
12_ = (a,b,c using a,b,c) -> 12_ = (a,b,c using a,b,c) ->
13 a,b,c = 1,2,3 13 a,b,c = 1,2,3
14 world = 12321 14 world = 12321
15 15
16(a,e,f using a,b,c, hello) -> 16(a,e,f using a,b,c, hello) ->
17 a,b,c = 1,2,3 17 a,b,c = 1,2,3
18 hello = 12321 18 hello = 12321
19 world = "yeah" 19 world = "yeah"
20 20
21 21
22 22