Re: [perl #75010] [BUG] @x and @.x in class methods treated differently

2012-01-10 Thread Richard Hainsworth
Will, This appears to be the expected output. Richard On 01/11/2012 05:04 AM, Will Coleda via RT wrote: On Mon May 10 07:31:39 2010, richardh wrote: See IRC May 10 @.x[1 .. +@x] is not being treated (rakudo dies) in the same way as @y[1 .. +@y] In particular: finanalyst: rakudo: class AB{ha

[perl #63466] Null PMC access when matching against rule in nonexistent grammar in Rakudo

2012-01-10 Thread Will Coleda via RT
On Fri Sep 09 09:53:10 2011, bbkr wrote: > NOM > > bbkr:nom bbkr$ ./perl6 -e '"foo" ~~ //' > ===SORRY!=== > regex assertion not terminated by angle bracket at line 1, near "::TOP>/" 20:26 < [Coke]> rakudo: "foo" ~~ // 20:26 <+p6eval> rakudo 38165a: OUTPUT«Method 'B' not found for invocant of

[perl #77520] [BUG] Internal Parrot error when introspecting the signature of an &assuming'd code block in Rakudo

2012-01-10 Thread Will Coleda via RT
On Mon Aug 30 08:22:27 2010, masak wrote: > rakudo: say { $^x }.assuming(1).signature > rakudo 6ccdcd: OUTPUT«get_attr_str() not implemented in class > 'Sub' [...] > rakudo: say { $^x }.assuming(1).signature.perl > rakudo 6ccdcd: OUTPUT«get_attr_str() not implemented in class > 'Sub' [...] > *

[perl #77820] [BUG] NaN.Rat

2012-01-10 Thread Will Coleda via RT
On Mon Sep 13 01:34:32 2010, jal...@gmail.com wrote: > Howdy, > > $ git rev-parse HEAD > 9993bb24d7d109485fe78a6afd463671912c6960 > $ ./perl6 > > NaN.Rat > -9.22337203685478e+18 > > I already added a fudged test to roast.git for this: > > http://github.com/perl6/roast/commit/2f690f94accf8f591a35

[perl #76444] [BUG] 'say (my $a) = 1, 2, 3' parses as '(say my $a) = 1, 2, 3' in Rakudo (but as 'say ((my $a) = 1, 2, 3)' in STD.pm6)

2012-01-10 Thread Will Coleda via RT
On Sat Jul 10 07:02:24 2010, masak wrote: > rakudo: say (my $a) = 1,2,3; say $a # discovered by TimToady++ > rakudo 692aa1: OUTPUT«Any()␤» > did it ever get reported? > rakudo: say ((my $a) = 1,2,3); > rakudo 692aa1: OUTPUT«1 2 3␤» > rakudo: (say (my $a)) = 1,2,3; > rakudo 692aa1: OUTPUT«Any

[perl #75850] [BUG] > say %( \( (:a(2)) )).keys # a (:a(2)) should ends up as a positionnal

2012-01-10 Thread Will Coleda via RT
On Fri Jun 18 01:26:55 2010, cognominal wrote: > > say%( \( (:a(2)) )).keys > a > > (:a(2)) should ends up as a positionnal > Update: 20:12 < [Coke]> rakudo: say %( \( (:a(2)) )).WHAT 20:12 <+p6eval> rakudo 38165a: OUTPUT«EnumMap()␤» 20:13 < [Coke]> rakudo: say %( \( (:a(2)) )).isa(Positio

[perl #63986] Rakudo doesn't fail to accept [-1] (but STD does)

2012-01-10 Thread Will Coleda via RT
On Tue Jul 27 14:27:33 2010, coke wrote: > On Thu Mar 19 06:28:19 2009, masak wrote: > > rakudo: my @a = ; @a[-1] = 'zero'; @a.perl > > rakudo f8b6ae: RESULT«"[\"one\", \"two\"]"» > > it is a bug, right? > > amoc: [*-1] > > rakudo: my @a = ; @a[*-1] = 'zero'; @a.perl > > rakudo f8b6ae: RESULT

[perl #77016] [BUG] Rakudo hangs when evaluating 1 / 10000000000000000000000000000000

2012-01-10 Thread Will Coleda via RT
On Thu Aug 05 11:20:33 2010, lithos wrote: > Hi! > > The following makes rakudo hang with 100% CPU load here. > > Lithos > > This is Rakudo Perl 6, version 2010.07-79-g19931fe built on parrot > 2.6.0 r48225 > > Copyright 2008-2010, The Perl Foundation > > $ ./perl6 > > 1 / 1000

[perl #75010] [BUG] @x and @.x in class methods treated differently

2012-01-10 Thread Will Coleda via RT
On Mon May 10 07:31:39 2010, richardh wrote: > See IRC May 10 > @.x[1 .. +@x] is not being treated (rakudo dies) in the same way as @y[1 > .. +@y] > > In particular: > > finanalyst: rakudo: class AB{has @.x; method aa { my @y=1,2,3; .say for > @y[1 .. +@y]; .say for @.x; .say for @.x[1 ..^ +@.x

[perl #73792] [BUG] 'state' vars in role bodies not supported in Rakudo

2012-01-10 Thread Will Coleda via RT
On Wed Mar 24 08:36:38 2010, masak wrote: > what would a state variable in a class definition be like? > ash_: like this? class A { state $foo } > yeah > > ash_: it wouldn't really make practical sense, because the > class block is only run once. > (AFAIK) > What does a state variable gain o

[perl #76648] [BUG] junctions produced by ^methods are unpredictable

2012-01-10 Thread Will Coleda via RT
On Thu Jul 22 00:45:24 2010, cx...@pobox.com wrote: > The following code, executed repeatedly, will produce different >results, > seemingly based on the ordering of the junction: > > $ perl6 -e 'class Foo { has $.bar; has $.baz; has $.biff }; >Foo.^methods.join(", ").say; say ("biff" eq an

[perl #107844] [BUG] .wrap and 'is export' don't play along in Rakudo

2012-01-10 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #107844] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=107844 > about wrap again: https://gist.github.com/1585730 Included here for completenes