[Ecls-list] bug with ASSERT and MACROLET

Juan Jose Garcia Ripoll worm at arrakis.es
Tue Dec 17 03:04:02 UTC 2002


On Monday 16 December 2002 14:01, Eric Marsden wrote:
> Hi,
>
> The following function fails to compile in ECL 0.8
>
>    (defun foo ()
>      (macrolet ((one (two) `(* ,two 4)))
>        (assert (= 1 2))
>        (one 2)))
>
>    ;;; Compiling (DEFUN FOO ...).
>    (ONE MACRO #<interpreted-function ONE>) is not of type C::FUN.
>    Broken at COMPILE-FILE.

I have commited the required changes to CVS today.

Juanjo





More information about the ecl-devel mailing list