#94 EQL methods are broken

closed-fixed
nobody
None
5
2008-08-30
2007-11-28
Michael Travers
No

CL-USER(7): (defmethod bar ((arg (eql :foo))) 23)
Debugger invoked on condition of type SIMPLE-ERROR:
The method has the wrong number of required arguments for the generic function.
Restarts:
0: TOP-LEVEL Return to top level.
[1] CL-USER(8): :reset
CL-USER(9): (defmethod bar ((arg (eql :foo))) 23)
#<
Debugger invoked on condition of type SIMPLE-TYPE-ERROR:
The value #<MOP::EQL-SPECIALIZER {C95521}> is not of type #<STANDARD-CLASS CLASS {396EF7}>.
Restarts:
0: TOP-LEVEL Return to top level.
[1] CL-USER(10):

Discussion

  • Logged In: YES
    user_id=115731
    Originator: YES

    Actually the problem is in the printer for method objects, not EQL methods themselves.

     
  • Logged In: YES
    user_id=115731
    Originator: YES

    Actually the problem is in the printer for method objects, not EQL methods themselves.

     
  • Erik Huelsmann
    Erik Huelsmann
    2008-08-30

    Logged In: YES
    user_id=2169408
    Originator: NO

    Fixed in r11290.

    CL-USER(21): (defmethod bar ((arg (eql :foo))) 23)
    ==> #<STANDARD-METHOD BAR ((EQL :FOO)) {4A2EC6}>

     
  • Erik Huelsmann
    Erik Huelsmann
    2008-08-30

    • status: open --> closed-fixed