From: Christopher Dicely Date: 2011-06-09T09:30:23+09:00 Subject: Re: a little challenge - reproduce this error On Wed, Jun 8, 2011 at 7: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 > > Michael Edgar > adgar@carboni.ca > http://carboni.ca/ > > >