[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 87/87: tmp
From: |
Andy Wingo |
Subject: |
[Guile-commits] 87/87: tmp |
Date: |
Thu, 22 Jan 2015 17:30:30 +0000 |
wingo pushed a commit to branch wip-goops-refactor
in repository guile.
commit def60ff7b33cb99779b657d44173d4f2434f4e2e
Author: Andy Wingo <address@hidden>
Date: Thu Jan 22 12:43:53 2015 +0100
tmp
---
module/oop/goops.scm | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/module/oop/goops.scm b/module/oop/goops.scm
index 127651c..0b20243 100644
--- a/module/oop/goops.scm
+++ b/module/oop/goops.scm
@@ -927,6 +927,8 @@ slots as we go."
(define-standard-class <boolean> (<top>))
(define-standard-class <char> (<top>))
(define-standard-class <list> (<top>))
+;; Not all pairs are lists, but there is code out there that relies on
+;; (is-a? '(1 2 3) <list>) to work. Terrible. How to fix?
(define-standard-class <pair> (<list>))
(define-standard-class <null> (<list>))
(define-standard-class <string> (<top>))
@@ -2137,8 +2139,8 @@ function."
(generic-function-methods gf)))
(define (invalidate-method-cache! gf)
- (%invalidate-method-cache! gf)
(slot-set! gf 'n-specialized (calculate-n-specialized gf))
+ (%invalidate-method-cache! gf)
(for-each (lambda (gf) (invalidate-method-cache! gf))
(slot-ref gf 'extended-by)))
- [Guile-commits] 72/87: change-object-class refactor, (continued)
- [Guile-commits] 72/87: change-object-class refactor, Andy Wingo, 2015/01/22
- [Guile-commits] 74/87: The GOOPS "unbound" value is a unique pair, Andy Wingo, 2015/01/22
- [Guile-commits] 71/87: slot-ref, slot-set! et al bypass "using-class" variants, Andy Wingo, 2015/01/22
- [Guile-commits] 73/87: GOOPS: Deprecate "using-class" procs like slot-ref-using-class, Andy Wingo, 2015/01/22
- [Guile-commits] 80/87: Optimize %initialize-object, Andy Wingo, 2015/01/22
- [Guile-commits] 75/87: Beginnings of <slot> slot definition class, Andy Wingo, 2015/01/22
- [Guile-commits] 81/87: Minor GOOPS cleanups, Andy Wingo, 2015/01/22
- [Guile-commits] 79/87: Inline internal slot accessors, Andy Wingo, 2015/01/22
- [Guile-commits] 84/87: GOOPS cosmetics, Andy Wingo, 2015/01/22
- [Guile-commits] 77/87: Use a vtable bit to mark <slot> instances, Andy Wingo, 2015/01/22
- [Guile-commits] 87/87: tmp,
Andy Wingo <=
- [Guile-commits] 78/87: Inline helpers into slot-ref, slot-set!, etc, Andy Wingo, 2015/01/22
- [Guile-commits] 83/87: Update (oop goops save) for <slot> objects, Andy Wingo, 2015/01/22
- [Guile-commits] 82/87: Fix foreign objects for removal of getters-n-setters, Andy Wingo, 2015/01/22
- [Guile-commits] 85/87: Fast generic function dispatch without calling `compile' at runtime, Andy Wingo, 2015/01/22
- [Guile-commits] 76/87: Introduce <slot> objects in GOOPS, Andy Wingo, 2015/01/22
- [Guile-commits] 86/87: Simplify GOOPS effective method cache format, Andy Wingo, 2015/01/22