aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/stub.mp
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs/stub.mp')
-rw-r--r--spec/inputs/stub.mp18
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/inputs/stub.mp b/spec/inputs/stub.mp
new file mode 100644
index 0000000..60347e7
--- /dev/null
+++ b/spec/inputs/stub.mp
@@ -0,0 +1,18 @@
1
2
3x = {
4 val: 100
5 hello: =>
6 print @val
7}
8
9fn = x\val
10print fn!
11print x\val!
12
13
14-- ... should be bubbled up anon functions
15((...)-> x = hello(...)\world)!
16
17nil
18