From: "Brian F. Feldman" Date: 2000-09-26T00:51:42+09:00 Subject: [ruby-talk:5103] Re: binding weirdness > Hi, > > In message "[ruby-talk:5093] binding weirdness" > on 00/09/25, "Brian F. Feldman" writes: > > |I notice that (using 1.6.0 and 1.6.1 snapshot; finding some other kinda > |strange problems, too...) binding acts very strangely with regard to > |defining a method after it has been previously accessed with an error. > > I think it's caused by method cache inconsistency. Try the following > patch, please. It makes things weirder than before :-( It fixes the case I presented, but it make ruby give an awful lot of warnings about already initialized constants and act pretty strange in general. Thanks for the attempt at fixing it, but it isn't working. Perhaps the inserted rb_clear_cache_by_id must occur before the st_insert? -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------'