aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/backcall.moon13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/inputs/backcall.moon b/spec/inputs/backcall.moon
index 407a5a7..48fa149 100644
--- a/spec/inputs/backcall.moon
+++ b/spec/inputs/backcall.moon
@@ -14,6 +14,19 @@ b = 1 + 2 + (4 |> tostring |> print(1) or 123)
14if x = 233 |> math.max 998 14if x = 233 |> math.max 998
15 print x 15 print x
16 16
17with b |> create? "new"
18 .value = 123
19 print \work!
20
21123 |> f?
22
23"abc" |> f1? |> f2?
24
25c = "abc" |> f1? |> f2?
26
27f = ->
28 arg |> x.y?\if
29
17998 |> func2 "abc", 233 |> func0 |> func1 30998 |> func2 "abc", 233 |> func0 |> func1
18998 |> func0("abc", 233) |> func1 |> func2 31998 |> func0("abc", 233) |> func1 |> func2
19 32