Hi,

In message "Re: module This::Encompassing::That"
    on 03/02/19, nobu.nokada / softhome.net <nobu.nokada / softhome.net> writes:

|At Wed, 19 Feb 2003 13:05:48 +0900,
|Yukihiro Matsumoto wrote:
|> |>   tmp = D
|> |>   module A
|> |>     class B < tmp
|> |>     end
|> |>   end
|> |
|> |Isn't
|> |
|> |  class A::B < ::D
|> |
|> |equivalent here?
|> 
|> Yes.  But it can be something like
|> 
|>  module Foo
|>    class A::B < D
|>    end
|>  end
|> 
|> where search for D start from Foo, then toplevel (Object).
|
|Like this?

I think class_prefix should be a sequence of modules, so that type
check in [ruby-talk:65161] should detect classes as error.  But I like
the idea.  Can you commit this patch?  I'd like to see how this works.

							matz.