From: Michael Edgar Date: 2011-06-08T23:59:21+09:00 Subject: Re: a little challenge - reproduce this error 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/