fix chaining up from interpreted to compiled methods; allow compiled init-thunk
authorAndy Wingo <wingo@pobox.com>
Fri, 31 Oct 2008 09:14:49 +0000 (10:14 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 31 Oct 2008 09:14:49 +0000 (10:14 +0100)
commitfd7ac322a5dd990148d9dd94cb4596a81ad2ff46
tree68b6267dc1b3846df6ef92309f7a015fae97ac00
parent7d38f3d819aba904c44a7e48197a43729083f808
fix chaining up from interpreted to compiled methods; allow compiled init-thunk

* libguile/goops.c (scm_sys_initialize_object): Don't assume that an init
  thunk is a closure; just go through scm_call_0 instead.

* oop/goops/compile.scm (make-make-next-method/memoizer): Allow for the
  case that the next method is compiled.
libguile/goops.c
oop/goops/compile.scm