freenode/#abcl - IRC Chatlog
Search
0:12:54
emaczen
Is there a setting I can change in ABCL to not care if a method definition does not have all the keyword arguments as another method?
0:13:14
emaczen
does not accept all of the keyword arguments defined for the generic function -- This is the ABCL error I am getting
0:30:42
charles`
Is that only for keyword arguments, because SBCL definitely cares if I have different # of parameters for same method name
1:53:50
etimmons
emaczen: Based on your description and some quick tests I'm guessing you're implicitly defining the generic function with defmethod. Try using an explicit defgeneric.
1:57:24
etimmons
It does appear there's a bug in how defmethod defines the lambda list of the implicit defgeneric https://plaster.tymoon.eu/view/2247#2247
2:00:37
etimmons
If (fboundp function-name) is nil, a generic function is created [...] the lambda list of the generic function will mention ..... key (but no keyword arguments)