diff options
Diffstat (limited to 'spec/inputs/using.moon')
-rw-r--r-- | spec/inputs/using.moon | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/spec/inputs/using.moon b/spec/inputs/using.moon new file mode 100644 index 0000000..55a16a7 --- /dev/null +++ b/spec/inputs/using.moon | |||
@@ -0,0 +1,21 @@ | |||
1 | |||
2 | hello = "hello" | ||
3 | world = "world" | ||
4 | |||
5 | (using nil) -> | ||
6 | hello = 3223 | ||
7 | |||
8 | (a using nil) -> | ||
9 | hello = 3223 | ||
10 | a = 323 | ||
11 | |||
12 | (a,b,c using a,b,c) -> | ||
13 | a,b,c = 1,2,3 | ||
14 | world = 12321 | ||
15 | |||
16 | (a,e,f using a,b,c, hello) -> | ||
17 | a,b,c = 1,2,3 | ||
18 | hello = 12321 | ||
19 | world = "yeah" | ||
20 | |||
21 | |||