aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/stub.moon
blob: f8f6c3fd6d545d18c6152a0a8d9eec2b0e5c48e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


x = {
  val: 100
  hello: =>
    print @val
}

fn = x\val
print fn!
print x\val!


-- ... should be bubbled up anon functions
x = hello(...)\world