This seems to require several files to reproduce.
t.pl:
use v6;
use A::A;
say "alive";
A/A.pm:
module A::A;
use A::B;
A/B.pm:
module A::B;
role B { }
class D does A::B::B { }
upon running t.pl, this happens:
The type A::B::B does not exist. at line 6, near "{ }\n"
This does not appear to happen if the modules are not grouped into a
namespace such as the A in this example.
Assigning to moritz++ to get a test case added to the spectests.
Thanks,
Jonathan