This looks right now:

$ perl6 -e 'class A { ... }; say A.WHAT'   # X::Package::Stubbed
===SORRY!=== Error while compiling -e
The following packages were stubbed but not defined:
    A
at -e:1
------> class A { ... }; say A.WHAT⏏<EOL>
    expecting any of:
        postfix
        statement end
        statement modifier
        statement modifier loop

$ perl6 -e 'class A { ... }; class B is A {}'    # X::Inheritance::NotComposed
===SORRY!=== Error while compiling -e
'B' cannot inherit from 'A' because 'A' isn't compose yet (maybe it is stubbed)
at -e:1
------>

$ perl6 -e 'class A { ... }; class B is A {}; class A {}'   # also 
X::Inheritance::NotComposed
===SORRY!=== Error while compiling -e
'B' cannot inherit from 'A' because 'A' isn't compose yet (maybe it is stubbed)
at -e:1
------> 

I added two tests to S12-class/stubs.t with commit 
https://github.com/perl6/roast/commit/7e89188444

I'm resolving this ticket now.

Reply via email to