[Ecls-list] Error with &key and defconstant defaults?

Dave Pearson davep at davep.org
Sat May 24 04:16:02 UTC 2003


* Juan Jose Garcia Ripoll <worm at arrakis.es> [2003-05-23 15:37:44 +0200]:

> On Friday 23 May 2003 12:07, Dave Pearson wrote:
> > Here's a short body of code that demonstrates the problem:
> > | (defconstant +foo+ 23)
> > |
> > | (defconstant +bar+ 42)
> > |
> > | (defun test (&key (foo +foo+) (bar +bar+))
> > |   (values foo bar))
> 
> [SNIP]
> 
> I have fixed this in the NEW_COMPILER CVS branch.

Many thanks for that. Would a patch for 0.9 be easy enough to produce?
That'd save me having to set things up for grabbing stuff from CVS and then
having to pull everything from CVS (dial up connection, sorry!). Or would
that be too much hassle?

Either way, thanks for fixing this.

-- 
Dave Pearson
http://www.davep.org/




More information about the ecl-devel mailing list