ensure-generic-function method-combination argument broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Low
|
Unassigned |
Bug Description
CL specifies that the method-combination argument to ensure-
(let ((mc (sb-pcl:
(
=> The value #<SB-PCL:
I appreciate that SBCL allows '(standard) to be passed as the argument, since CL specifies no way to actually get hold of a method combination object, but since the MOP _does_ specify a way to get the object, it'd be nice if that object were also accepted as an argument.
I actually was using the '(standard) form, but in porting my library to other implementations, I discovered that no everyone likes that. So I tried to go the more standard route, but now I have to conditionalize sbcl.
------
SBCL: 1.0.55.3-5a2c881
uname: Darwin Tiamat.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-
features: (:QPQ-INVARIANT
:CLOSER-MOP :ASDF-SYSTEM-
:SPLIT-
:SB-TEST :SB-LDB :SB-PACKAGE-LOCKS :SB-UNICODE :SB-EVAL :SB-SOURCE-
:IEEE-
:OS-PROVIDES-PUTWC :OS-PROVIDES-DLADDR :OS-PROVIDES-DLOPEN :LITTLE-ENDIAN
:MULTIPLY-
:COMPLEX-
:STACK-
:STACK-
:UNWIND-
:C-STACK-
:UD2-BREAKPOINTS :MACH-EXCEPTION
:DARWIN9-OR-BETTER :INODE64 :X86-64 :SB-CORE-
:SB-XREF-
Changed in sbcl: | |
assignee: | nobody → Nikodemus Siivola (nikodemus) |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
commit 1f9c4bb952a1f8b 19ee9da0f54e95b 2b3aa9111a
Author: Nikodemus Siivola <email address hidden>
Date: Sun May 20 20:11:29 2012 +0300
make ENSURE- GENERIC- FUNCTION accept method combination arguments
Previously we only accepted a list designating the method combination, but
since MOP also specifies a way to grab the actual method combination, we
should really accept that as well.
Fixes bug 936513.