From: Tilman Sauerbeck Date: 2005-06-08T03:58:40+09:00 Subject: Re: [PATCH] Silly bug in 1.8's YAML Yukihiro Matsumoto [2005-06-08 00:13]: > In message "Re: [PATCH] Silly bug in 1.8's YAML" > on Fri, 20 May 2005 03:38:00 +0900, Tilman Sauerbeck writes: > > |Ruby 1.8's YAML will use the "new" method to instantiate objects, but it > |should use "allocate" instead. Otherwise, there might be trouble with > |new/initialize that take arguments. > > Thank you. I will merge this. By the way, I think you need to > replace new by allocate in one other place (in hash_proc), right? I didn't notice this before. Yes, it looks like the same change should be made at that line, too. > |This is fixed in Ruby 1.9/Syck CVS, but I think it should go in 1.8, > |too. > > I don't see it's fixed in 1.9. Do I have to update rubytypes.rb in > the HEAD as well? Sorry, I think I just checked whether it was in Syck CVS. Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html