Skip Menu |
Report information
Id: 132570
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: softmoth <tim.dolores [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



From: Tim Smith <tim.dolores [...] gmail.com>
Subject: invalid typename or unknown type when nested under builtin type hierarchy
To: rakudobug <rakudobug [...] perl.org>
Date: Mon, 11 Dec 2017 17:58:36 -0700
Download (untitled) / with headers
text/plain 834b
Save make-testcase.sh in /tmp, and: 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.
Download make-testcase.sh
application/x-sh 1.2k

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org