In article <200204190546.g3J5kpM03950 / sharui.nakada.kanuma.tochigi.jp>, <nobu.nokada / softhome.net> wrote: >Hi, > >At Fri, 19 Apr 2002 12:28:10 +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. Phil