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 trying to use name in nonexistent namespace #743

Closed
p6rt opened this issue Mar 4, 2009 · 5 comments
Closed

Null PMC access trying to use name in nonexistent namespace #743

p6rt opened this issue Mar 4, 2009 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Mar 4, 2009

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

Searchable as RT63646$

@p6rt
Copy link
Author

p6rt commented Mar 4, 2009

From @mathw

20​:12 < Matt-W> rakudo​: sub foo { EN​::a; }; say "alive"; foo;
20​:12 < p6eval> rakudo 33ddc7​: OUTPUT«alive␤Null PMC access in
invoke()␤current
  instr.​: 'foo' pc 130 (EVAL_17​:62)␤»

@p6rt
Copy link
Author

p6rt commented Jul 24, 2009

From @kyleha

This is an automatically generated mail to inform you that tests are now available in t/spec/S02-names_and_variables/names.t

commit 438559f312bb2e4c1db0fa8c5db5fac505f271e4
Author​: kyle <kyle@​c213334d-75ef-0310-aa23-eaa082d1ae64>
Date​: Fri Jul 24 16​:52​:53 2009 +0000

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

Inline Patch
diff --git a/t/spec/S02-names_and_variables/names.t b/t/spec/S02-names_and_variables/names.t
index 95bdc45..d69aa16 100644
--- a/t/spec/S02-names_and_variables/names.t
+++ b/t/spec/S02-names_and_variables/names.t
@@ -2,7 +2,7 @@ use v6;
 
 use Test;
 
-plan 17;
+plan 19;
 
 # I'm using semi-random nouns for variable names since I'm tired of foo/bar/baz and alpha/beta/...
 
@@ -56,4 +56,13 @@ plan 17;
     is A::_b(), 'sub A::_b', 'A::_b() call works';
 }
 
+# RT #63646
+#?rakudo todo 'RT #63646'
+{
+    dies_ok { OscarMikeGolf::whiskey_tango_foxtrot() },
+            'dies when calling non-existent sub in non-existent package';
+    dies_ok { Test::bravo_bravo_quebec() },
+            'dies when calling non-existent sub in existing package';
+}
+
 # vim: ft=perl6

@p6rt
Copy link
Author

p6rt commented Jul 24, 2009

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

@p6rt
Copy link
Author

p6rt commented Aug 19, 2009

From @jnthn

On Wed Mar 04 12​:20​:07 2009, matt-w wrote​:

20​:12 < Matt-W> rakudo​: sub foo { EN​::a; }; say "alive"; foo;
20​:12 < p6eval> rakudo 33ddc7​: OUTPUT«alive␤Null PMC access in
invoke()␤current
instr.​: 'foo' pc 130 (EVAL_17​:62)␤»

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