Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #66996] [BUG] Null PMC access when Rakudo tries to parse :colonpair[] with empty list

0 views
Skip to first unread message

Carl Mäsak

unread,
Jun 26, 2009, 10:56:40 AM6/26/09
to bugs-bi...@netlabs.develooper.com
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #66996]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66996 >


<masak> rakudo: my $a = :x[]
<p6eval> rakudo 6c43f9: OUTPUT«Null PMC access in find_method() [...]
* masak submits rakuodbug
<masak> rakudo: :x[]
<p6eval> rakudo 6c43f9: OUTPUT«Null PMC access in find_method() [...]

Patrick R. Michaud via RT

unread,
Jun 30, 2009, 12:14:16 PM6/30/09
to perl6-c...@perl.org
On Fri Jun 26 07:56:40 2009, masak wrote:
> <masak> rakudo: my $a = :x[]
> <p6eval> rakudo 6c43f9: OUTPUT«Null PMC access in find_method() [...]
> * masak submits rakuodbug
> <masak> rakudo: :x[]
> <p6eval> rakudo 6c43f9: OUTPUT«Null PMC access in find_method() [...]


What should $a contain in the above case? I.e., what's the
expected/desired value of $a.perl ?

Pm

Moritz Lenz

unread,
Jun 30, 2009, 12:26:46 PM6/30/09
to perl6-bug...@perl.org

I think it should be the same as

my $a = x => [];

(that is a pair holding an empty list or array, don't know exactly which).

cheers,
Moritz

Moritz Lenz

unread,
Mar 19, 2010, 4:41:56 PM3/19/10
to perl6-c...@perl.org

You can now find passing tests in S02-literals/pairs.t.
Cheers,
Moritz

0 new messages