moonscript/spec/inputs/stub.moon
2013-06-07 23:14:08 -07:00

17 lines
150 B
Plaintext

x = {
val: 100
hello: =>
print @val
}
fn = x\val
print fn!
print x\val!
-- ... should be bubbled up anon functions
x = hello(...)\world