aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/funcs.yue
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs/funcs.yue')
-rw-r--r--spec/inputs/funcs.yue4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/inputs/funcs.yue b/spec/inputs/funcs.yue
index 6b1669b..d19c2d1 100644
--- a/spec/inputs/funcs.yue
+++ b/spec/inputs/funcs.yue
@@ -98,7 +98,7 @@ f(
98 98
99x = (a, 99x = (a,
100 b) -> 100 b) ->
101 print "what" 101 print "what"
102 102
103 103
104y = (a="hi", 104y = (a="hi",
@@ -211,7 +211,7 @@ do
211 print "kv:", k, v 211 print "kv:", k, v
212 print "rest count:", select "#", ... 212 print "rest count:", select "#", ...
213 macro gen = (fname) -> | 213 macro gen = (fname) -> |
214 #{fname} = ({:a, :b = 0}) -> print a, b 214 #{fname} = ({:a, :b = 0}) -> print a, b
215 $gen foo 215 $gen foo
216 t1 = (:a, x) -> print a, x 216 t1 = (:a, x) -> print a, x
217 t2 = (:a) -> print a 217 t2 = (:a) -> print a