You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rm -rf ./invalid-typename-bug; sh make-testcase.sh && \
PERL6LIB=invalid-typename-bug/lib perl6 invalid-typename-bug/t.pl
If type=role, then the error is:
===SORRY!=== Error while compiling /tmp/invalid-typename-bug/lib/Bar.pm (Bar)
Invalid typename 'Baggy::Foo::TypeB'
at /tmp/invalid-typename-bug/lib/Bar.pm (Bar):7
If type=class, the error is:
===SORRY!=== Error while compiling /tmp/invalid-typename-bug/lib/Bar.pm (Bar)
'Bar' cannot inherit from 'Baggy::Foo::TypeB' because it is unknown.
at /tmp/invalid-typename-bug/lib/Bar.pm (Bar):7
Tested with:
$ perl6 --version
This is Rakudo version 2017.10 built on MoarVM version 2017.10
implementing Perl 6.c.
$ px --version
This is Rakudo version 2017.11-78-g1dbf5f589 built on MoarVM version
2017.11-27-gfac29990
implementing Perl 6.c.
Migrated from rt.perl.org#132570 (status was 'new')
Searchable as RT132570$
The text was updated successfully, but these errors were encountered: