Opened 2 years ago

Closed 2 years ago

#202 closed defect (fixed)

ENSURE-GENERIC-FUNCTION assumes LAMBDA-LIST is NIL

Reported by: gpfeil Owned by: ehuelsmann
Priority: major Milestone: 1.1.0
Component: (A)MOP Version: 1.1.0-dev
Keywords: Cc:

Description

I know ABCL's MOP isn't complete yet, but I just saw this with ENSURE-GENERIC-FUNCTION.

(ensure-generic-function 'make-instance
                         :method-combination *contract-method-combination*)

complains that the lambda list NIL isn't compatible with MAKE-INSTANCE's lambda list. If I don't pass the :LAMBDA-LIST parameter, it shouldn't attempt to change the lambda list.

Change History (2)

comment:1 Changed 2 years ago by ehuelsmann

  • Milestone set to 1.1.0

comment:2 Changed 2 years ago by ehuelsmann

  • Resolution set to fixed
  • Status changed from new to closed

(In [14060]) Fix #202: ENSURE-GENERIC-FUNCTION complains about lambda list congruence
when no lambda list is provided.

Don't change the field when the argument is not provided and
when the argument is not provided, don't check for congruence.

Note: See TracTickets for help on using tickets.