From: Intransition Date: 2011-06-09T00:28:30+09:00 Subject: Re: a little challenge - reproduce this error On Jun 8, 10:59 am, Michael Edgar wrote: > On Jun 8, 2011, at 10:56 AM, Christopher Dicely wrote: > > > The easiest way to get the error you ask about is > > module X; module Foo; end; end > > X::Foo::X > > > But I would guess that that probably isn't what you are looking for either. > > It wouldn't be, because that's not an error: it ends up referencing the top-level X from inside Foo, giving this warning: > > (irb):1407: warning: toplevel constant X referenced by X::Foo::X Interesting. What platform on you on?