close Warning: Can't synchronize with repository "(default)" (/project/cmucl/public_html/git/cmucl.git does not appear to be a Git repository.). Look in the Trac log for more information.

Opened 4 years ago

#96 new defect

incorrect macroexpansion environment for defconstant

Reported by: heller Owned by: somebody
Priority: major Milestone:
Component: Core Version: 2014-03
Keywords: Cc:

Description

This example can't be compiled:

(macrolet ((foo (x) x))
  (defconstant +foo+ (foo 123)))

it produces this error:

Error in KERNEL:%COERCE-TO-FUNCTION:  the function FOO is undefined.
   [Condition of type UNDEFINED-FUNCTION]

This might be related to ticket #40.

Change History (0)

Note: See TracTickets for help on using tickets.