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 class does something which hasn't been declared in Rakudo #1658

Closed
p6rt opened this issue Apr 3, 2010 · 5 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Apr 3, 2010

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

Searchable as RT74032$

@p6rt
Copy link
Author

p6rt commented Apr 3, 2010

From @masak

<masak> rakudo​: class Animal does Pet { }; role Pet does Bite { };
role Bite { method bite() { say "ouch" } };
<p6eval> rakudo 020a6a​: OUTPUT«Null PMC access in type() [...]
* masak submits rakuodbug
<masak> rakudo​: class A does B {}
<p6eval> rakudo 020a6a​: OUTPUT«Null PMC access in type() [...]
<masak> ah. that's it.

@p6rt
Copy link
Author

p6rt commented Apr 22, 2010

From @jnthn

On Sat Apr 03 11​:07​:03 2010, masak wrote​:

<masak> rakudo​: class Animal does Pet { }; role Pet does Bite { };
role Bite { method bite() { say "ouch" } };
<p6eval> rakudo 020a6a​: OUTPUT«Null PMC access in type() [...]
* masak submits rakuodbug
<masak> rakudo​: class A does B {}
<p6eval> rakudo 020a6a​: OUTPUT«Null PMC access in type() [...]
<masak> ah. that's it.

Now we get​:

class Animal does Pet { }; role Pet does Bite { };
Typename Pet must be pre-declared to use it with does at line 1

Giving to moritz++ for spectest coverage.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Apr 22, 2010

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

@p6rt
Copy link
Author

p6rt commented Apr 30, 2010

From @moritz

Now tested in S14-roles/basic.t.

@p6rt
Copy link
Author

p6rt commented Apr 30, 2010

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

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