From: nobu.nokada@... Date: 2002-04-24T01:28:42+09:00 Subject: Re: recursive require warning... Hi, At Sat, 20 Apr 2002 04:49:45 +0900, Phil Tomson wrote: > >> >> Is it possible that we could have some sort of warning message when this > >> >> happens, something like: "Warning: recursive require slave.rb line 3" > >> > > >> >It's easy, but really desirable in common? > >> > >> It would have made it much easier to find the problem on Windows in this > >> case. I didn't realize that the file was requireing itself (slave.rb) > >> instead of the Slave.rb in the other directory. > > > >Sometimes recursive require is used intently. Actually, once > >it was prohibited, complained as expected. > > I'm not saying that we should restrict it but that it could be a warning > that is issued if you've got certain warnings turned on. I'm just afraid it's noisy in such case, but it may not be a problem. -- Nobu Nakada