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 method foo in undeclared A::B after declaring A::C in Rakudo #887

Closed
p6rt opened this issue Apr 13, 2009 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Apr 13, 2009

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

Searchable as RT64686$

@p6rt
Copy link
Author

p6rt commented Apr 13, 2009

From @masak

<masak> rakudo​: class A​::C {}; A​::B.foo
<p6eval> rakudo 679e48​: OUTPUT«Null PMC access in invoke() [...]
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Jul 26, 2009

From @kyleha

This is an automatically generated mail to inform you that tests are now available in t/spec/S12-class/basic.t

commit eee220e0f0cad7a5a67b73c2e523c390b836d7b3
Author​: kyle <kyle@​c213334d-75ef-0310-aa23-eaa082d1ae64>
Date​: Sun Jul 26 16​:15​:49 2009 +0000

  [t/spec] Test for RT #​64686
 
  git-svn-id​: http://svn.pugscode.org/pugs@&#8203;27748 c213334d-75ef-0310-aa23-eaa082d1ae64

Inline Patch
diff --git a/t/spec/S12-class/basic.t b/t/spec/S12-class/basic.t
index 5ce2d5a..cbc067b 100644
--- a/t/spec/S12-class/basic.t
+++ b/t/spec/S12-class/basic.t
@@ -2,7 +2,7 @@ use v6;
 
 use Test;
 
-plan 32;
+plan 33;
 
 =begin pod
 
@@ -108,3 +108,8 @@ is  (class A61354_1 { eval q/method x { "OH HAI" }/ }; A61354_1.x),
     #?rakudo skip 'RT #67784'
     isa_ok( class.new, 'class' );
 }
+
+# RT #64686
+#?rakudo todo 'RT #64686'
+eval_dies_ok 'class Romeo::Tango {}; Romeo::Juliet.rt64686',
+             'call to missing method in A::B dies after class A::C defined';

@p6rt
Copy link
Author

p6rt commented Jul 26, 2009

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

@p6rt
Copy link
Author

p6rt commented Aug 19, 2009

From @jnthn

On Mon Apr 13 01​:23​:13 2009, masak wrote​:

<masak> rakudo​: class A​::C {}; A​::B.foo
<p6eval> rakudo 679e48​: OUTPUT«Null PMC access in invoke() [...]
* masak submits rakudobug

Resolved in git 33e3839 and unfudged tests.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Aug 19, 2009

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

@p6rt p6rt closed this as completed Aug 19, 2009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant