mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
Update #:procedure method for <applicable-struct>
* modules/oop/goop.scm (initialize-object-procedure): Use slot-set! instead of set-object-procedure!.
This commit is contained in:
parent
d83eb93f45
commit
962b910318
1 changed files with 2 additions and 2 deletions
|
@ -1453,9 +1453,9 @@
|
|||
(let ((proc (get-keyword #:procedure initargs #f)))
|
||||
(cond ((not proc))
|
||||
((pair? proc)
|
||||
(apply set-object-procedure! object proc))
|
||||
(apply slot-set! object 'procedure proc))
|
||||
(else
|
||||
(set-object-procedure! object proc)))))
|
||||
(slot-set! object 'procedure proc)))))
|
||||
|
||||
(define-method (initialize (applicable-struct <applicable-struct>) initargs)
|
||||
(next-method)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue