Skip to content

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

Closed

Description

@p6rt

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

Searchable as RT62732$

Activity

  1. p6rt commented on Jan 25, 2009

    @p6rt
    Author

    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()
    [...]

  2. p6rt commented on Jun 22, 2009

    @p6rt
    Author

    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()

  3. p6rt commented on Jul 17, 2009

    @p6rt
    Author

    From @kyleha

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

  4. p6rt commented on Jul 17, 2009

    @p6rt
    Author

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

  5. p6rt commented on Apr 2, 2010

    @p6rt
    Author

    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

  6. p6rt commented on Apr 2, 2010

    @p6rt
    Author

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions