aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/syntax.moon22
1 files changed, 22 insertions, 0 deletions
diff --git a/spec/inputs/syntax.moon b/spec/inputs/syntax.moon
index 3ac9991..abee3e3 100644
--- a/spec/inputs/syntax.moon
+++ b/spec/inputs/syntax.moon
@@ -280,3 +280,25 @@ It's OK.
280 280
281func --[[port]] 3000, --[[ip]] "192.168.1.1" 281func --[[port]] 3000, --[[ip]] "192.168.1.1"
282 282
283f = ->
284 a,b, \
285 c,d, \
286 e,f
287
288with obj
289 invoke \
290 --[[arg1]] \func!,
291 --[[arg2]] 123,
292 --[[arg3]] "abc"
293
294invokeA \
295 invokeB \
296 invokeC 123
297
298123 \
299 |> invokeC \
300 |> invokeB \
301 |> invokeA
302
303nil
304