# New Ticket Created by  Elizabeth Mattijsen 
# Please include the string:  [perl #117859]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=117859 >



[19:24:46] <lizmat>      :-) so what am I doing wrong here:
[19:24:49] <lizmat>      r: class Foo { has $!foo; trusts Bar }; class Bar { 
method foo { self!Foo::foo } }
[19:24:51] <+camelia>    rakudo 474102: 
OUTPUTĀ«===SORRY!===ā¤Cannot call private method 'foo' on 
package Foo because it does not trust Barā¤at /tmp/E4zFVVR6lK:1ā¤------> ; 
class Bar { method foo { self!Foo::fooā } }ā¤    expecting any 
of:ā¤        method argumentsā¤Ā»
[19:25:21] <timotimo>    :o
[19:25:31] <timotimo>    you don't need to predeclare Bar?
[19:25:40] <timotimo>    r: class Bar { ... }; class Foo { has $!foo; trusts 
Bar }; class Bar { method foo { self!Foo::foo } }
[19:25:41] <+camelia>    rakudo 474102:  ( no output )
[19:25:42] <moritz>      you probably need to
[19:25:47] <timotimo>    LTA error, i'd claim
[19:25:53] <+dalek>      roast: 33746c6 | larry++ | S05-modifier/ignorecase.t:
[19:25:53] <+dalek>      roast: [M] is not <[M]>
[19:25:53] <+dalek>      roast: review: 
https://github.com/perl6/roast/commit/33746c6546
[19:25:56] <moritz>      aye
[19:26:03] <timotimo>    who feels like making a ticket?
[19:26:13] <moritz>     masak!
[19:26:21] lizmat        submits rakudobug

Reply via email to