Skip Menu |
Report information
Id: 79564
Status: resolved
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: masak <cmasak [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [BUG] 'my $.var' no longer generates a method in Rakudo
Date: Mon, 22 Nov 2010 04:46:26 +0100
To: rakudobug [...] perl.org
From: Carl Mäsak <cmasak [...] gmail.com>
Download (untitled) / with headers
text/plain 414b
<masak> alpha: class A { my $.x = 42; method foo { say $.x } }; A.new.foo <p6eval> alpha : OUTPUT«42␤» <masak> rakudo: class A { my $.x = 42; method foo { say $.x } }; A.new.foo <p6eval> rakudo : OUTPUT«Method 'x' not found for invocant of class 'A'␤ in 'A::foo' at line 22:/tmp/Vf8EKOC9DJ␤ in main program body at line 22:/tmp/Vf8EKOC9DJ␤» <masak> ah. that explains a lot. * masak submits rakudobug
Still happening in rakudo 33f1cf -- Will "Coke" Coleda
Download (untitled) / with headers
text/plain 613b
On Sun Nov 21 19:46:42 2010, masak wrote: Show quoted text
> <masak> alpha: class A { my $.x = 42; method foo { say $.x } }; A.new.foo > <p6eval> alpha : OUTPUT«42␤» > <masak> rakudo: class A { my $.x = 42; method foo { say $.x } }; A.new.foo > <p6eval> rakudo : OUTPUT«Method 'x' not found for invocant of class > 'A'␤ in 'A::foo' at line 22:/tmp/Vf8EKOC9DJ␤ in main program body at > line 22:/tmp/Vf8EKOC9DJ␤» > <masak> ah. that explains a lot. > * masak submits rakudobug
Now: Show quoted text
> class A { my $.x = 42; method foo { say $.x } }; A.new.foo
42 I know we're running tests for this, so resolving le ticket. /jnthn


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org