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

Rakudo gives a Null PMC access when trying to instantiate unknown class with C<::> in it #651

Closed
p6rt opened this issue Jan 25, 2009 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Jan 25, 2009

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

Searchable as RT62732$

@p6rt
Copy link
Author

p6rt commented Jan 25, 2009

From @masak

Rakudo r35994​:

$ perl6 -e 'A.new()'
Could not find non-existent sub A
[...]
$ perl6 -e 'A​::B.new()'
Null PMC access in invoke()
[...]

@p6rt
Copy link
Author

p6rt commented Jun 22, 2009

From amoc.yn@gmail.com

at revision​: 10f223
and at release version #​18.

my $o = IO.new; # works
my $o = A.new; # correct
Could not find non-existent sub A

my $o = IO​::NONEXIST.new; # error
Null PMC access in invoke()

@p6rt
Copy link
Author

p6rt commented Jul 17, 2009

From @kyleha

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

@p6rt
Copy link
Author

p6rt commented Jul 17, 2009

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

@p6rt
Copy link
Author

p6rt commented Apr 2, 2010

From @jnthn

On Sun Jan 25 04​:46​:32 2009, masak wrote​:

Rakudo r35994​:

$ perl6 -e 'A.new()'
Could not find non-existent sub A
[...]
$ perl6 -e 'A​::B.new()'
Null PMC access in invoke()
[...]

Now it reports​:

Can not find sub A​::B

And also unfudged the test.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Apr 2, 2010

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

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