On Thu, 15 Nov 2012 04:51:17 -0800, bbkr wrote:
Show quoted text> 2012.10
>
> $ perl6 -e 'A::B'
> Could not find symbol '&B'
> in method <anon> at src/gen/CORE.setting:9956
> in at src/gen/Metamodel.pm:2401
> in any find_method_fallback at src/gen/Metamodel.pm:2389
> in any find_method at src/gen/Metamodel.pm:925
> in at src/gen/BOOTSTRAP.pm:827
> in any at src/gen/BOOTSTRAP.pm:811
> in block at -e:1
>
> STD complaints about whole 'A::B' symbol, not just nonexistent B in
> A:: namespace.
>
> <bbkr_> std: A::B
> <p6eval> std 04216b1:
> OUTPUT«[31m===[0mSORRY![31m===[0mUndeclared name:
> 'A::B' used at line 1Check failedFAILED 00:00 41m»
>
> So IMO it cannot be considered fixed with current error message.
$ ./perl6-m -e 'A::B'
Could not find symbol '&B'
in block <unit> at -e line 1
Actually thrown at:
in block <unit> at -e line 1
$ cat tmp.p6
use v6;
say "hi";
A::B;
say "bye";
$ ./perl6-m tmp.p6
hi
Could not find symbol '&B'
in block <unit> at tmp.p6 line 4
Actually thrown at:
in block <unit> at tmp.p6 line 4
$ ./perl6-m --version
This is Rakudo version 2017.02-167-ge114d5204 built on MoarVM version 2017.02-24-gd9e0b4e2
Is this error message sufficient?