On Mon, 21 Jan 2002, Chr. Rippel wrote: > "Mathieu Bouchard" <matju / sympatico.ca> wrote > > + def test_include_transitivity > > + eval %{ > > + module ModX; end > > + module ModY; end > > + module ModZ; include ModY; end > > + module ModY; include ModX; end > > + assert ModZ<ModY > > + assert ModY<ModX > > + assert ModZ<ModX > > + } > > + end > > end > including probably never was or ever was mend to be transitive You're on crack. > and ModZ < ModX will always fail. Swap the two 'include' lines above, and the test won't fail. but I was most concerned with the case where it _does_ fail. I think it's due to a cache not being flushed somewhere in object.c, but i dislike reading C code. ________________________________________________________________ Mathieu Bouchard http://hostname.2y.net/~matju