diff options
author | Li Jin <dragon-fly@qq.com> | 2020-01-18 18:15:24 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2020-01-18 18:15:24 +0800 |
commit | 8d1af508f4173e4af6a4ea98584c1a86619f6a20 (patch) | |
tree | 0264c4b01f1152d8114cf46aea6fd773276c0b01 /spec/inputs/using.moon | |
parent | f53ccb373efbf6f6f40284111df309e351c2c18f (diff) | |
download | yuescript-8d1af508f4173e4af6a4ea98584c1a86619f6a20.tar.gz yuescript-8d1af508f4173e4af6a4ea98584c1a86619f6a20.tar.bz2 yuescript-8d1af508f4173e4af6a4ea98584c1a86619f6a20.zip |
fix Moonscript issue 122, add support for ? operator.
Diffstat (limited to 'spec/inputs/using.moon')
-rw-r--r-- | spec/inputs/using.moon | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/inputs/using.moon b/spec/inputs/using.moon index 55a16a7..e407983 100644 --- a/spec/inputs/using.moon +++ b/spec/inputs/using.moon | |||
@@ -2,18 +2,18 @@ | |||
2 | hello = "hello" | 2 | hello = "hello" |
3 | world = "world" | 3 | world = "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" |