Opened 12 years ago

Closed 11 years ago

#273 closed defect (fixed)

compiler macro, flet, inline => Failed AVER: "NIL"

Reported by: Mark Evenson Owned by: ehuelsmann
Priority: critical Milestone: 1.3.0
Component: compiler Version: 1.2.0-dev
Keywords: Cc:
Parent Tickets:

Description

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)

comment:1 Changed 12 years ago by Mark Evenson

Milestone: 1.1.01.2.0

comment:2 Changed 12 years ago by Mark Evenson

Version: 1.1.0-dev1.2.0-dev

comment:3 Changed 11 years ago by Evenson Not Org

Priority: majorcritical

comment:4 Changed 11 years ago by Evenson Not Org

Milestone: 1.2.01.3.0

comment:5 Changed 11 years ago by Mark Evenson

Resolution: fixed
Status: newclosed

Working for abcl-1.3.0

Note: See TracTickets for help on using tickets.