Re: [perl #60572] can`t set attribute-array for object in .new

2008-11-18 Thread Илья
Hi! Jonathan, thank you! But look like a little bug still here: $f = Foo.new( :a([1,2,3]) ); $f.a.perl.say; # [[1, 2, 3]] hm... expected [1, 2, 3] S02.pod, line 2329: Fat arrow Adverbial pairParen form ... a => [...] :a[...] :a([...]) Rakudo: > (a => [1,2

[perl #60572] can`t set attribute-array for object in .new

2008-11-16 Thread [EMAIL PROTECTED] via RT
On Sun Nov 16 01:25:10 2008, ihrd wrote: > example: > > class Foo { > has @.a; > } > my @b = 1,2,3; > > my $f = Foo.new(a => @b); > $f.a.perl.say; # [] > Fixed in r32733. Thanks, Jonathan

[perl #60572] can`t set attribute-array for object in .new

2008-11-16 Thread via RT
# New Ticket Created by Ilya Belikin # Please include the string: [perl #60572] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=60572 > Hi! example: class Foo { has @.a; } my @b = 1,2,3; my $f = Foo.new(a => @b); $f.a.