Skip Menu |
Report information
Id: 130200
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: winexpertu [at] yandex.ru
Cc:
AdminCc:

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



From: Denis Alexandrov <winexpertu [...] yandex.ru>
Date: Mon, 28 Nov 2016 20:35:25 +0800
To: rakudobug [...] perl.org
Download (untitled) / with headers
text/plain 317b
Version: Rakudo version 2016.11 built on MoarVM version 2016.11 implementing Perl 6.c. OS: Windows 10 x64. Example of the issue: package Attribute::Foo { }; use Attribute::Foo; Attempting to compile such code produces a misleading error message: "Attribute::Foo is a builtin type, not an external module".
Download (untitled) / with headers
text/plain 114b
The error is even weirder here: m: package IO::Foo { }; use IO::Foo rakudo-moar 054aca: OUTPUT«===SORRY!===␤»
Download (untitled) / with headers
text/plain 410b
On Mon, 28 Nov 2016 05:38:23 -0800, cpan@zoffix.com wrote: Show quoted text
> The error is even weirder here: > > m: package IO::Foo { }; use IO::Foo > rakudo-moar 054aca: OUTPUT«===SORRY!===␤»
Oh, that one was just a glitch in camelia. The error is the same for IO:: as for Attribute:: m: package IO::Foo { }; use IO::Foo rakudo-moar 054aca: OUTPUT«===SORRY!===␤IO::Foo is a builtin type, not an external module␤»
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 727b
On Mon, 28 Nov 2016 05:41:48 -0800, cpan@zoffix.com wrote: Show quoted text
> On Mon, 28 Nov 2016 05:38:23 -0800, cpan@zoffix.com wrote:
> > The error is even weirder here: > > > > m: package IO::Foo { }; use IO::Foo > > rakudo-moar 054aca: OUTPUT«===SORRY!===␤»
> > Oh, that one was just a glitch in camelia. The error is the same for > IO:: as for Attribute:: > > m: package IO::Foo { }; use IO::Foo > rakudo-moar 054aca: OUTPUT«===SORRY!===␤IO::Foo is a builtin type, not > an external module␤»
One more issue in this bunch, caused by presence of `role X` and invalid method call: $ perl6 -e 'class Foo { role X {}; method z { Foo!z } }' ===SORRY!=== Could not locate compile-time value for symbol Method::NotFound
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 1.4k
On Wed, 27 Dec 2017 05:17:34 -0800, cpan@zoffix.com wrote: Show quoted text
> On Mon, 28 Nov 2016 05:41:48 -0800, cpan@zoffix.com wrote:
> > On Mon, 28 Nov 2016 05:38:23 -0800, cpan@zoffix.com wrote:
> > > The error is even weirder here: > > > > > > m: package IO::Foo { }; use IO::Foo > > > rakudo-moar 054aca: OUTPUT«===SORRY!===␤»
> > > > Oh, that one was just a glitch in camelia. The error is the same for > > IO:: as for Attribute:: > > > > m: package IO::Foo { }; use IO::Foo > > rakudo-moar 054aca: OUTPUT«===SORRY!===␤IO::Foo is a builtin type, > > not > > an external module␤»
> > One more issue in this bunch, caused by presence of `role X` and > invalid method call: > > $ perl6 -e 'class Foo { role X {}; method z { Foo!z } }' > ===SORRY!=== > Could not locate compile-time value for symbol Method::NotFound
$ perl6 -v This is Rakudo version 2017.12-11-g2a8287c built on MoarVM version 2017.12-1-g912f967 implementing Perl 6.c. $ cat Foo.pm6 unit class Foo; class Z::Bar {} class X::Meow {} $ perl6 -I. -MFoo -e 'say Foo::Z::Bar; say Foo::X::Meow' (Bar) Could not find symbol '&Meow' in block <unit> at -e line 1 $ pico Foo.pm6 ... $ cat Foo.pm6 unit class Foo; class Foo::Z::Bar {} class Foo::X::Meow {} $ perl6 -I. -MFoo -e 'say Foo::Z::Bar; say Foo::X::Meow' (Bar) (Meow) Another related case. Namespace of inner class begins with core namespace is not found, but with class's namespace then found.


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