Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Bruno Haible <bruno@cl...> - 2004-11-25 11:53:16
According to ANSI CL, ensure-generic-function must accept a :DECLARE
keyword argument. In SBCL 0.8.16 it does not.
(ensure-generic-function 'foo113 :declare '((optimize (speed 3))))
Expected: ((OPTIMIZE (SPEED 3)))
Invalid initialization argument:
in call for class #<SB-MOP:FUNCALLABLE-STANDARD-CLASS STANDARD-GENERIC-FUNCTION>.
The ANSI Standard, Section 7.1.2
The MOP specifies that ensure-generic-function accepts :DECLARATIONS.
The easiest way to be compliant to both specs is to accept both (exclusively
Bruno Haible <bruno@...> writes:
> According to ANSI CL, ensure-generic-function must accept a :DECLARE
> keyword argument. In SBCL 0.8.16 it does not.
This is fixed in sbcl-0.9.1.13. Thank you for the report.