[Openmcl-devel] Problem with ccl:macroexpand-all and flet of setf functions.

Gary Byers gb at clozure.com
Wed Jan 12 10:00:55 PST 2011



On Wed, 12 Jan 2011, David Brown wrote:

> I ran into this last night using slime.  The following signals a
> condition:
>
>  (ccl:macroexpand-all '(flet (((setf foo) (value) bar)) body))
>
>> Error: Malformed :FUNCTION list: #1=(SETF FOO) is not a symbol in (#1#).
>> While executing: (:INTERNAL CCL::CHECK-ALL-SYMBOLS CCL::CHECK-ENVIRONMENT-ARGS), in process listener(1).
>
> Using a macro with this expansion works with the compiler, it just fails
> when expanding using Slime.
>
> Should I create a ticket for this?

Please do.

In general, it's better if a bug's reported in trac than if it isn't,
even if it's reported by other means (email, IRC, ...) and even if
the fix seems likely to be trival.



More information about the Openmcl-devel mailing list