Ahh, It looks like my report below is a duplicate of
[perl #62898] Rakudo can't handle A declared after A::B was
declared in an included module
Sorry about that...
Chris
On Feb 7, 2009, at 4:10 PM, perl6 via RT wrote:
Consider the following two files:
--- Foo/Bar/Baz.pm ---
class Foo::Bar::Baz {
}
--- Foo/Bar.pm ---
use Foo::Bar::Baz;
class Foo::Bar {
}
When you load Foo::Bar, you get:
Re-declaration of type Foo::Bar at line 4, near ""
I think this is because 'use'ing Foo::Bar::Baz vivifies the Foo::Bar
package. This error does NOT happen if the two classes are declared
in the same file, presumably a compiletime-vs-runtime difference.
This problem began sometime in the last month.