Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#283 ensure-generic-function-using-class and naming

Unstable_git/CVS
closed
nobody
None
1
2014-03-07
2014-02-16
stassats
No
(defgeneric a ()) 
(print (clos:ensure-generic-function-using-class nil 'b :name 'c))
(print (clos:ensure-generic-function-using-class #'a 'b :name 'c))

#<standard-generic-function B> 
#<standard-generic-function B>

But from http://www.alu.org/mop/dictionary.html#ensure-generic-function-using-class

the expected result should be B, C, since function-name is only used when generic-function is NIL, and otherwise it just calls REINITIALIZE-INSTANCE with the supplied initargs.

Discussion

  • stassats
    stassats
    2014-03-07

    Fixed in a2a23bee120fcec274b9124c2f9bfcdb68098106.

     


Anonymous


Cancel   Add attachments