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

'my $.var' no longer generates a method in Rakudo #2272

Closed
p6rt opened this issue Nov 22, 2010 · 5 comments
Closed

'my $.var' no longer generates a method in Rakudo #2272

p6rt opened this issue Nov 22, 2010 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Nov 22, 2010

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

Searchable as RT79564$

@p6rt
Copy link
Author

p6rt commented Nov 22, 2010

From @masak

<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

@p6rt
Copy link
Author

p6rt commented Oct 8, 2011

From @coke

Still happening in rakudo 33f1cf

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 8, 2011

@coke - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jan 15, 2012

From @jnthn

On Sun Nov 21 19​:46​:42 2010, masak wrote​:

<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​:

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

@p6rt
Copy link
Author

p6rt commented Jan 15, 2012

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

@p6rt p6rt closed this as completed Jan 15, 2012
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant