summaryrefslogtreecommitdiffstats
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/compiler.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/compiler.tl b/stdlib/compiler.tl
index 28e9cb96..92c00770 100644
--- a/stdlib/compiler.tl
+++ b/stdlib/compiler.tl
@@ -2307,7 +2307,7 @@
(if-match @(require (lambda @(and @params @(end @rest))
[sys:apply . @args])
rest
- (eq 1 (count rest (flatten args)))
+ (eq 1 [cons-count rest args eq])
(eq [args -1] rest))
form
^(lambda (,*(butlastn 0 params) ,rest)