We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90a3066 commit 560e95eCopy full SHA for 560e95e
1 file changed
t/compiler-inline.lisp
@@ -0,0 +1,21 @@
1
+;;;; <https://github.com/armedbear/abcl/issues/591>
2
+(unless (ignore-errors (asdf:load-system :fset))
3
+ (ql:quickload :fset))
4
+
5
+(in-package :fset-user)
6
+(defun foo (x)
7
+ (labels ((bar (x)
8
+ (cond ((null x) nil)
9
+ ((eq (car x) '&rest) (tail (cadr x)))
10
+ (t (cons (car x) (bar (cdr x))))))
11
+ (tail (x)
12
+ (list 'local-tail x)))
13
+ (bar x)))
14
+(compile 'foo)
15
16
+(prove:plan 1)
17
+(prove:is
18
+ (foo '(a &rest b))
19
+ '(a local-tail b))
20
+(prove:finalize)
21
0 commit comments