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

Null PMC access when calling ClassHOW.methods(ClassHOW) in Rakudo #1552

Closed
p6rt opened this issue Feb 26, 2010 · 7 comments
Closed

Null PMC access when calling ClassHOW.methods(ClassHOW) in Rakudo #1552

p6rt opened this issue Feb 26, 2010 · 7 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Feb 26, 2010

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

Searchable as RT73142$

@p6rt
Copy link
Author

p6rt commented Feb 26, 2010

From @masak

<diakopter> rakudo​: say ClassHOW.methods(ClassHOW)
<p6eval> rakudo 4fc3af​: OUTPUT«Null PMC access in inspect_str() [...]
* masak submits rakudobug
<jnthn> Meh. Before we had a meta-model, all this was nice and hidden
and people couldn't screw with it. :-)
<masak> meta-bugs.
<diakopter> hee

@p6rt
Copy link
Author

p6rt commented Jul 28, 2010

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

@p6rt
Copy link
Author

p6rt commented Sep 13, 2011

From @bbkr

NOM​:

bbkr​:nom bbkr$ ./perl6 -e 'say ClassHOW.methods(ClassHOW)'
Could not find sub &ClassHOW

@p6rt
Copy link
Author

p6rt commented Sep 13, 2011

From @bbkr

I've asked on IRC but didn't got the answer what happened to ClassHOW
type, so I'm not sure if the ticket can be closed.

@p6rt
Copy link
Author

p6rt commented Sep 13, 2011

From @bbkr

jnthn
bbkr1​: It's all under Metamodel​:: these days

I don't know if this case has corresponding syntax in this new model,
leaving unchanged.

@p6rt
Copy link
Author

p6rt commented Apr 5, 2012

From @jnthn

On Tue Sep 13 15​:03​:04 2011, bbkr wrote​:

I've asked on IRC but didn't got the answer what happened to ClassHOW
type, so I'm not sure if the ticket can be closed.

Well, if you update it to​:

Metamodel​::ClassHOW.methods(Metamodel​::ClassHOW)

It gives...

Cannot look up attributes in a type object

Which makes sense - you can't look up a list of methods in a metaclass
type object. Just gonna resolve this one - a whole bunch of problems of
this style were fixed when nom came along.

/jnthn

@p6rt
Copy link
Author

p6rt commented Apr 5, 2012

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

@p6rt p6rt closed this as completed Apr 5, 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