From: Sebastian Ruhs Date: 2004-07-24T07:11:59+09:00 Subject: Re: Strange warning-message Am 23.07.2004 schrieb H.Yamamoto: > >(eval):4: warning: instance variable @__10761__ not initialized > >(eval):4: warning: instance variable @__10337__ not initialized > >23.7.2004 > > This warning comes from Date#to_s, and the code below warns with same > reason. > > class Foo > def foo > if @val; end # evaluate uninitialized instance variable > end > end > > Foo.new.foo > > I don't know if this is intended warning. (1.8.1 doesn't warn) Ok, if this warning comes from the use of an uninitialized instance variable then there is a bug in the Date-class, right? so long... sR -- "Futile is resistance. Assimilated you will be, yes. Yoda of Borg I am." [Unknown] - http://www.malerwerkst.at - (slow) (Registered Linux-User #249081)