Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LTA error message when calling a private method on a package in Rakudo #2928

Closed
p6rt opened this issue Oct 16, 2012 · 5 comments
Closed

LTA error message when calling a private method on a package in Rakudo #2928

p6rt opened this issue Oct 16, 2012 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Oct 16, 2012

Migrated from rt.perl.org#115308 (status was 'resolved')

Searchable as RT115308$

@p6rt
Copy link
Author

p6rt commented Oct 16, 2012

From @masak

<diakopter> r​: say $_!X​::a
<p6eval> rakudo 919d96​: OUTPUT«===SORRY!===␤Method 'is_trusted' not
found for invocant of class 'Perl6​::Metamodel​::PackageHOW'␤»
<jnthn> hm, a bit lta.
<jnthn> A package can't have methods, so it can't trust, so a private
method call on one makes no sense.
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Oct 16, 2012

From @jnthn

On Tue Oct 16 13​:45​:15 2012, masak wrote​:

<diakopter> r​: say $_!X​::a
<p6eval> rakudo 919d96​: OUTPUT«===SORRY!===␤Method 'is_trusted' not
found for invocant of class 'Perl6​::Metamodel​::PackageHOW'␤»
<jnthn> hm, a bit lta.
<jnthn> A package can't have methods, so it can't trust, so a private
method call on one makes no sense.
* masak submits rakudobug

Now fixed to give appropriate exception; testneeded.

/jnthn

@p6rt
Copy link
Author

p6rt commented Oct 16, 2012

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jan 12, 2013

From @moritz

Tested in S12-methods/private.t

@p6rt
Copy link
Author

p6rt commented Jan 12, 2013

@moritz - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant