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 doing 'does Role[::T]' in Rakudo #1192

Closed
p6rt opened this issue Aug 2, 2009 · 6 comments
Closed

Null PMC Access when doing 'does Role[::T]' in Rakudo #1192

p6rt opened this issue Aug 2, 2009 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Aug 2, 2009

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

Searchable as RT68134$

@p6rt
Copy link
Author

p6rt commented Aug 2, 2009

From @masak

<masak> rakudo​: class Foo does Positional[​::T] {}; say Foo ~~ Positional
<p6eval> rakudo c57fbd​: OUTPUT«Null PMC access in isa()␤in Main [...]
* masak submits rakudobug
<masak> rakudo​: role A {}; class Foo does A[​::T] {}
<p6eval> rakudo c57fbd​: OUTPUT«Null PMC access in isa()␤in Main [...]

@p6rt
Copy link
Author

p6rt commented Jul 27, 2010

From @bbkr

On Atlanta build

[16​:06] <bbkr> rakudo​: class Foo does Positional[​::T] {}; say Foo ~~
Positional
[16​:06] <p6eval> rakudo 9808d7​: OUTPUT«1␤»

[16​:07] <bbkr> rakudo​: role A {}; class Foo does A[​::T] {}
[16​:07] <p6eval> rakudo 9808d7​: OUTPUT«===SORRY!===␤No applicable
candidates found to dispatch to for '_block120'. Available candidates
are​:␤​:()␤␤»

@p6rt
Copy link
Author

p6rt commented Jul 27, 2010

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

@p6rt
Copy link
Author

p6rt commented Oct 14, 2011

From @coke

On Sun Aug 02 13​:38​:45 2009, masak wrote​:

<masak> rakudo​: class Foo does Positional[​::T] {}; say Foo ~~
Positional
<p6eval> rakudo c57fbd​: OUTPUT«Null PMC access in isa()␤in Main [...]
* masak submits rakudobug
<masak> rakudo​: role A {}; class Foo does A[​::T] {}
<p6eval> rakudo c57fbd​: OUTPUT«Null PMC access in isa()␤in Main [...]

15​:39 < [Coke]> rakudo​: class Foo does Positional[​::T] {}; say Foo ~~
Positional
15​:39 <+p6eval> rakudo ce15be​: OUTPUT«===SORRY!===␤Could not locate
  compile-time value for symbol T␤»
15​:39 < jnthn> That looks correct.
15​:39 < jnthn> It needs to know what T is there to use it as a type
argument at
  compile time.
15​:39 < [Coke]> T isn't some magic thing that is a type?
15​:39 < [Coke]> ah, yes, but not magical. OK.

So, Closable with tests.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jan 7, 2012

From @moritz

now tested in S14-roles/parameterized-type.t.

@p6rt
Copy link
Author

p6rt commented Jan 7, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant