Ticket #564 (closed defect: fixed)
Scoping within nested classes is broken
| Reported by: | joshua.ballanco@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby 0.6 |
| Component: | MacRuby | Keywords: | module |
| Cc: |
Description
The following code throws an 'uninitialize constant: A::C::D::B' error, when it should actually just find the module "B" --
module A
module B
end
class C
end
class C::D
include B
end
end
Note: Removing the surrounding "module A" eliminates the lookup problem.
Change History
Note: See
TracTickets for help on using
tickets.

