On Wed, 27 Dec 2017 05:17:34 -0800, c...@zoffix.com wrote: > On Mon, 28 Nov 2016 05:41:48 -0800, c...@zoffix.com wrote: > > On Mon, 28 Nov 2016 05:38:23 -0800, c...@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.