summaryrefslogtreecommitdiff
path: root/spec/inputs/using.moon
blob: cd78ba6a231cd518641a72f9aacd2e4c5a1f1c76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

hello = "hello"
world = "world"

_ = (using nil) ->
  hello = 3223

_ = (a using nil) ->
  hello = 3223
  a = 323

_ = (a,b,c using a,b,c) ->
  a,b,c = 1,2,3
  world = 12321

(a,e,f using a,b,c, hello) ->
  a,b,c = 1,2,3
  hello = 12321
  world = "yeah"