[cmucl-ticket] [cmucl] #40: incorrect lexical environment for deftype

#40: incorrect lexical environment for deftype --------------------+------------------------------------------------------- Reporter: heller | Owner: somebody Type: defect | Status: new Priority: minor | Milestone: Component: Core | Version: 20a Keywords: | --------------------+------------------------------------------------------- When compiling this: {{{ (macrolet ((foo () `'fixnum)) (deftype footype () (foo))) (defun bar (x) (etypecase x (footype (logand x 255)))) }}} CMUCL complains that: {{{ Error in kernel:%coerce-to-function: the function foo is undefined. [Condition of type undefined-function] }}} -- Ticket URL: <http://trac.common-lisp.net/cmucl/ticket/40> cmucl <http://common-lisp.net/project/cmucl> cmucl

#40: incorrect lexical environment for deftype ---------------------+------------------------------------------------------ Reporter: heller | Owner: somebody Type: defect | Status: new Priority: minor | Milestone: Component: Core | Version: 20a Resolution: | Keywords: ---------------------+------------------------------------------------------ Comment(by rtoy): I can reproduce this with the current CVS too. I do not understand why this fails. If you put the macrolet in a file and the defun in another and compile (and load) them, everything works. -- Ticket URL: <http://trac.common-lisp.net/cmucl/ticket/40#comment:1> cmucl <http://common-lisp.net/project/cmucl> cmucl
participants (1)
-
cmucl