Created
April 19, 2012 07:11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/gauche/test.scm b/lib/gauche/test.scm | |
index ab34e40..af082ad 100644 | |
--- a/lib/gauche/test.scm | |
+++ b/lib/gauche/test.scm | |
@@ -361,6 +361,10 @@ | |
[proc (global-variable-ref | |
(slot-ref gref 'module) | |
(slot-ref gref 'name))] | |
+ ;; We exclude <generic> with no methods. Such "placeholder" | |
+ ;; generic function may be used in the base module, expecting | |
+ ;; the other module adds methods to it. | |
+ [ (not (and (is-a? proc <generic>) (null? (~ proc'methods)))) ] | |
[ (not (apply applicable? proc (make-list numargs <bottom>))) ]) | |
(list (slot-ref gref 'name) | |
(slot-ref closure 'info) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment