[Ecls-list] regression involving macro expansion, GETHASH, SETF, and HASH-SET

Gabriel Dos Reis gdr at cs.tamu.edu
Sun Jan 1 18:34:13 UTC 2012


Hi,

A fresh update of my local copy of ECL CVS version shows a regression
involving macro expansion, GETHASH, SETF and HASH-SET.  In short, after
expansion, the arguments to HASH-SET seems to be switched.

To reproduce this,  issue the following in a fresh ECL session

   (compile-file "ht-test.lisp")
   (load "ht-test")

The file ht-test.lisp is in attachment to this message.  It is distilled
from attempt to build OpenAxiom with ECL.

I get:

   ;;; Loading #P"/home/gdr/build/ecl-x-oa/ht-test.fas"

   Condition of type: SIMPLE-TYPE-ERROR
   In function HASH-SET, the value of the second argument is
     "and"
   which is not of the expected type HASH-TABLE
   Available restarts:

   1. (RESTART-TOPLEVEL) Go back to Top-Level REPL.

   Broken at SI:BYTECODES. [Evaluation of: (LOAD "ht-test")]
   >>


-- Gaby

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ht-test.lisp
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120101/40cd08d9/attachment.ksh>


More information about the ecl-devel mailing list