On Sun Dec 07 03:31:55 2008, moritz wrote:
> On Sat Dec 06 14:07:35 2008, masak wrote:
> > Rakudo r33577 can do private method calls.
> > 
> > $ perl6 -e 'class A { my method x {}; method y { self!x } }; A.new.y'
> > 
> > And it can do calls to methods whose name is given in a string.
> > 
> > $ perl6 -e 'class A { method x {}; method y { self."x" } }; A.new.y'
> > 
> > But it cannot do both at the same time.
> > 
> > $ perl6 -e 'class A { my method x {}; method y { self!"x" } }; A.new.y'
> > Null PMC access in get_string()
> > [...]
Fixed this in r34030.

> Added tests to t/spec/S12-methods/private.t (and that file to
> t/spectest.data in r33598).
> 
And unfudged these.

D'akujem pekne,

Jonathan

Reply via email to