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

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"