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

Weird error when doing .perl on .^attributes in Rakudo #2220

Closed
p6rt opened this issue Oct 10, 2010 · 5 comments
Closed

Weird error when doing .perl on .^attributes in Rakudo #2220

p6rt opened this issue Oct 10, 2010 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Oct 10, 2010

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

Searchable as RT78316$

@p6rt
Copy link
Author

p6rt commented Oct 10, 2010

From @masak

<masak> rakudo​: class Car { has @​.wheels }; say Car.^attributes
<p6eval> rakudo 5bdbd4​: OUTPUT«@​!wheels␤»
<masak> rakudo​: class Car { has @​.wheels }; say Car.^attributes.perl
<p6eval> rakudo 5bdbd4​: OUTPUT«Method 'attributes' not found for
invocant of class ''␤ in 'Mu​::attribs' at line 1216​:CORE.setting␤ in
'Mu​::perl' at line 1225​:CORE.setting␤ in main program body at line
1␤»
<masak> o.O
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Feb 1, 2012

From @coke

On Sun Oct 10 16​:05​:36 2010, masak wrote​:

<masak> rakudo​: class Car { has @​.wheels }; say Car.^attributes
<p6eval> rakudo 5bdbd4​: OUTPUT«@​!wheels␤»
<masak> rakudo​: class Car { has @​.wheels }; say Car.^attributes.perl
<p6eval> rakudo 5bdbd4​: OUTPUT«Method 'attributes' not found for
invocant of class ''␤ in 'Mu​::attribs' at line 1216​:CORE.setting␤
in
'Mu​::perl' at line 1225​:CORE.setting␤ in main program body at line
1␤»
<masak> o.O
* masak submits rakudobug

New output​:

09​:27 < [Coke]> rakudo​: class Car { has @​.wheels }; say
Car.^attributes.perl
  #RT 78316
09​:27 <+p6eval> rakudo ce5cca​: OUTPUT«(Attribute.new(),)␤»

Good enough?

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Feb 1, 2012

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

@p6rt
Copy link
Author

p6rt commented May 11, 2013

From @masak

On Wed Feb 01 06​:28​:26 2012, coke wrote​:

On Sun Oct 10 16​:05​:36 2010, masak wrote​:

<masak> rakudo​: class Car { has @​.wheels }; say Car.^attributes
<p6eval> rakudo 5bdbd4​: OUTPUT«@​!wheels␤»
<masak> rakudo​: class Car { has @​.wheels }; say Car.^attributes.perl
<p6eval> rakudo 5bdbd4​: OUTPUT«Method 'attributes' not found for
invocant of class ''␤ in 'Mu​::attribs' at line 1216​:CORE.setting␤
in
'Mu​::perl' at line 1225​:CORE.setting␤ in main program body at line
1␤»
<masak> o.O
* masak submits rakudobug

New output​:

09​:27 < [Coke]> rakudo​: class Car { has @​.wheels }; say
Car.^attributes.perl
#RT 78316
09​:27 <+p6eval> rakudo ce5cca​: OUTPUT«(Attribute.new(),)␤»

Good enough?

Most definitely; it doesn't produce an error any more. Resolving ticket.

@p6rt
Copy link
Author

p6rt commented May 11, 2013

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

@p6rt p6rt closed this as completed May 11, 2013
@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