From: nobu.nokada@... Date: 2002-01-10T19:44:09+09:00 Subject: Re: Possible bug with struct.c (Re: Re: Structs and Marshalling) At Wed, 9 Jan 2002 02:27:07 +0900, nobu.nokada@softhome.net wrote: > > Oops, rb_clear_cache_by_id() should be called regardless of > > overriding, for cases such as: > > > > classes C < B < A. > > class A defines foo. > > {id:foo, klass:C, origin:A} is cached. > > > > then redefine B#foo, which does not replace older method, but cache > > should be invalidated. > > Exactly. This patch makes rb_define_method() and so on, but I guess it not to be notable since they aren't called repeatedly. -- Nobu Nakada