mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 20:30:28 +02:00
* goops.scm (eqv?, equal?): Provide default methods for `eqv?' and
`equal?'. (compute-getters-n-setters): Check for bad init-thunks. (update-direct-method!): Use eq? instead of eqv?.
This commit is contained in:
parent
61951a9a9a
commit
95f2bb326c
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
* goops.scm (eqv?, equal?): Provide default methods for `eqv?' and
|
||||
`equal?'.
|
||||
(compute-getters-n-setters): Check for bad init-thunks.
|
||||
(update-direct-method!): Use eq? instead of eqv?.
|
||||
|
||||
2003-04-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
|
||||
|
||||
|
|
|
@ -936,7 +936,7 @@
|
|||
;; So we can work as if we had only proper lists.
|
||||
(if (pair? l)
|
||||
(begin
|
||||
(if (eqv? (car l) old)
|
||||
(if (eq? (car l) old)
|
||||
(set-car! l new))
|
||||
(loop (cdr l))))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue