summaryrefslogtreecommitdiffstats
path: root/tests/012/lambda.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-03-23 00:12:46 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-03-23 00:12:46 -0700
commit0d8638e43da65169c3d46273c6c9c8239f54723f (patch)
tree49865cd42a717e3325adc068b2101574622705a3 /tests/012/lambda.tl
parent502c6b4d4a1e29c51c80a39a6eaef27a3f5c0d89 (diff)
downloadtxr-0d8638e43da65169c3d46273c6c9c8239f54723f.tar.gz
txr-0d8638e43da65169c3d46273c6c9c8239f54723f.tar.bz2
txr-0d8638e43da65169c3d46273c6c9c8239f54723f.zip
tests: squelch unused variable warnings.
* tests/011/patmatch.tl, * tests/019/pct-fun.tl: Disable unused warnings around file self-compilation. * tests/011/tree-bind.tl: Fix one unused variable instance using interned symbol. * tests/011/compile.tl: Disable unused warnings around all file compilation. * tests/012/lambda.tl: Use the parameter of one trivial lambda. * tests/common.tl: Disable unused warnings around compiled tests.
Diffstat (limited to 'tests/012/lambda.tl')
-rw-r--r--tests/012/lambda.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/012/lambda.tl b/tests/012/lambda.tl
index 47b03e4b..ec3b2cae 100644
--- a/tests/012/lambda.tl
+++ b/tests/012/lambda.tl
@@ -126,7 +126,7 @@
[(lambda (x y : (a 3) (b 4) . r) (list x y a b r)) 1 2 0 0 . vc] (1 2 0 0 (: : : :))
[(lambda (x y : (a 3) (b 4) . r) (list x y a b r)) 1 2 0 0 5 . vc] (1 2 0 0 (5 : : : :)))
-(test (functionp (lambda (: (n n)))) t)
+(test (functionp (lambda (: (n n)) n)) t)
(defvarl n)