compiler macro, flet, inline => Failed AVER: "NIL"
James Lawrence reports in http://article.gmane.org/gmane.lisp.armedbear.devel/2636:
(defun foo (n) n)
(define-compiler-macro foo (n)
`(flet ((bar (k) k))
(declare (inline bar))
(bar ,n)))
(compile nil '(lambda () (foo 3)))
(compile nil '(lambda () (foo 3)))
; Caught STYLE-WARNING:
; The variable K is defined but never used.
compile-var-ref general case
; Compilation unit finished
; Caught 1 STYLE-WARNING condition
=> Failed AVER: "NIL" [Condition of type SIMPLE-ERROR]
Change History (5)
Version: |
1.1.0-dev →
1.2.0-dev
|
Priority: |
major →
critical
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Working for abcl-1.3.0