[perl #75844] [BUG] Twigil missing form error message : Lexical '$a' not found

2011-09-30 Thread Will Coleda via RT
On Thu Jun 17 23:24:28 2010, cognominal wrote: > > my @a=<1 2 3>; @a>>.map: ( '(' ~ $^a ~ ')' ) > Lexical '$a' not found We've definitely backslid here: $ ./perl6 > my @a=<1 2 3>; @a>>.map: ( '(' ~ $^a ~ ')' ) Segmentation fault > > my @a=<1 2 3>; @a>>.map: { '(' ~ $^a ~ ')' } # correct progra

[perl #82984] Syntax error leads to Null PMC

2011-09-30 Thread Will Coleda via RT
On Sat Jan 29 06:42:51 2011, Solomon wrote: > rakudo: multi sub postfiz:($a) { [*] 1..$a } > p6eval: rakudo 549d2a: OUTPUT«===SORRY!===␤Null PMC access in > get_integer()␤» > It's quiet now: 20:45 < [Coke]> rakudo: multi sub postfiz:($a) { [*] 1..$a } 20:45 <+p6eval> rakudo ebd4d8: ( no output

[perl #66352] reduce with user-defined sub fail

2011-09-30 Thread Will Coleda via RT
Today: $ ./perl6 -e 'multi a (Str $a, Str $b) { [+$a, +$b] }; multi a (Array $a,$b where "+") { [+] @($a) }; say ("1", "2", "+").reduce: &a;' can only reduce with arity 2 for now in method reduce at src/gen/CORE.setting:4207 in method reduce at src/gen/CORE.setting:1029 -- Will "Coke" Cole

[perl #71814] [BUG] no information about where the error occured in Rakudo

2011-09-30 Thread Will Coleda via RT
On Sat Jul 24 15:23:43 2010, coke wrote: > On Sun Jan 03 05:07:50 2010, nkh wrote: > > rakudo commit: db84bc06990c37b93fe987dcffab4ed9bf31de92 > > build/PARROT_REVISION: 43076 1.9.0 > > > > nadim@naquadim rakudo (master)$ ./perl6 nadim_test.pl > > =begin without =end at line 2, near "\nsub A() {"

[perl #77408] say "a" ~~ m:nth(Mu)/a/ dies with maximum recursion depth exceeded

2011-09-30 Thread Will Coleda via RT
On Tue Aug 24 04:17:36 2010, pawel.pab...@implix.com wrote: > On Pisa build > > $ perl6 -e 'say "a" ~~ m:nth(Mu)/a/' > maximum recursion depth exceeded > in 'EnumMap::Capture' at line 4867:CORE.setting > in 'EnumMap::Capture' at line 4871:CORE.setting > in 'prefix:<|>' at line 677:CORE.setti

[perl #78156] [BUG] Null PMC access on does Callable

2011-09-30 Thread Will Coleda via RT
On Fri Oct 01 09:11:01 2010, ash_gti wrote: > Some subs can 'does Callable' while other return Null PMC access errors. > > rakudo: say &print does Callable > rakudo 8827d0: OUTPUT«Null PMC access in clone()␤ in > 'infix:' at line 37␤ in 'infix:' at line 537:CORE.setting␤ in > main program b

[perl #76676] Range subscripts do not clip

2011-09-30 Thread Will Coleda via RT
On Thu Jul 22 12:50:25 2010, moritz wrote: > 21:47 <@moritz_> rakudo: say ~.[^10] > 21:47 <+p6eval> rakudo 220b67: OUTPUT«a b Any() Any() Any() Any() Any() > Any() Any() Any()␤» > 21:48 <@moritz_> yes, it is > 21:48 <@pmichaud> ranges don't clip yet > 21:48 <@pmichaud> I started to implement it bu

[perl #80186] IO.WHAT.say returns no output

2011-09-30 Thread Will Coleda via RT
On Fri Dec 03 10:06:00 2010, pawel.pab...@implix.com wrote: > [19:02] rakudo: "/etc/services".IO.WHAT.say # bug? > [19:02] rakudo : ( no output ) > [19:03] bbkr: looks like the usual "error during &say call > gets lost > somewhere" bug. Now complains: 20:23 < [Coke]> rakudo: "/etc/services".I

[perl #77920] re-declaring an enum produces LTA error message in Rakudo

2011-09-30 Thread Will Coleda via RT
On Sat Sep 18 14:57:30 2010, moritz wrote: > 23:53 < moritz_> rakudo: enum A ; enum A ; > 23:53 <+p6eval> rakudo a204ba: OUTPUT«===SORRY!===␤Contextual $*PKGDECL > not found␤» > 23:53 < moritz_> std: enum A ; enum A ; > 23:53 <+p6eval> std : OUTPUT«===SORRY!===␤Illegal redeclaration of > symbol 'A

[perl #76104] Cannot augment class Hash

2011-09-30 Thread Will Coleda via RT
On Fri Jun 25 14:35:36 2010, supernovus wrote: > rakudo: use MONKEY_TYPING; augment class Hash { method hi { say > 'hi' } }; my %h; %h.hi; > rakudo 4e6cce: OUTPUT«Method 'hi' not found for invocant of class > ''␤ in main program body at line 11:/tmp/AayQsvcfGd␤» > > This seems to be similar t

[perl #76834] Fwd: Rakudo Star silent exit on subset violation?

2011-09-30 Thread Will Coleda via RT
On Fri Jul 30 07:14:54 2010, coke wrote: > Opening a ticket on behalf of ovid... > > > -- Forwarded message -- > From: Ovid > Date: Thu, Jul 29, 2010 at 9:44 AM > Subject: Rakudo Star silent exit on subset violation? > To: perl6-compi...@perl.org > > > I don't know if this is r

[perl #71812] [BUG] =pod has no effect

2011-09-30 Thread Will Coleda via RT
On Mon Jun 28 09:03:34 2010, bbkr wrote: > On Kiev build there is now warning about using deprecated POD syntax. > > # perl6 -e 'eval "=pod\nsay 666;\n=cut"; say $!' > Obsolete pod format, please use =begin/=end instead at line 1, near > "pod\nsay 66" > > However bare '=pod' still makes code exec

[perl #76728] Null PMC for assigning values to optional parameter

2011-09-30 Thread Will Coleda via RT
On Mon Jul 26 05:51:17 2010, wenzel.peppme...@gmx.de wrote: > $ perl6 > > sub a(%p1?){ %p1 = 1 };a(); > Null PMC access in invoke() $ ./perl6 -e 'sub a(%p1?){ %p1 = 1 };a(); say "alive"' alive Closable with tests. -- Will "Coke" Coleda

[perl #75118] return() resets named arguments

2011-09-30 Thread Will Coleda via RT
On Sat May 15 06:21:47 2010, moritz wrote: > 15:18 <@moritz_> rakudo: sub foo() { return 1,2,:c<3> }; say foo().perl > 15:18 <+p6eval> rakudo 16e953: OUTPUT«(1, 2, "c" => Any)␤» > Still wrong, but updated: $ ./perl6 -e 'sub foo() { return 1,2,:c<3> }; say foo().perl' (1, 2, "c" => Mu) -- Will

[perl #66820] Null PMC access in find_method() while accessing bound return value from gather/take

2011-09-30 Thread Will Coleda via RT
On Sun Jun 21 11:24:57 2009, moritz wrote: > $ perl6 -e 'my @a := gather { for 1..3 { take $_; say @a.perl } }; say > @a.perl' > Null PMC access in find_method() > in Main (:1) > > I don't know if you need laziness to get that working... > > Moritz This now says: $ ./perl6 -e 'my @a := gather

[perl #76476] monkey-typed method new is not called

2011-09-30 Thread Will Coleda via RT
On Mon Jul 12 10:15:55 2010, moritz wrote: > 19:13 <@jnthn> rakudo: use MONKEY_TYPING; class Foo { }; augment class > Foo { >method new { say "called" } }; Foo.new > 19:13 <+p6eval> rakudo bb6df2: ( no output ) > 19:14 <@jnthn> hmpfth > 19:14 * moritz_ submits rakudobug This now

[perl #74008] [PATCH] Lazy assignation to Seq and Array

2011-09-30 Thread Will Coleda via RT
On Fri Apr 02 14:20:38 2010, jmarti wrote: > This patch implements lazy assignation to Seq and Array objects. Sorry about the delay in responding. While the patch no longer cleanly applies, it looks like this feature does exist in current rakudo: 19:58 < [Coke]> nom: my @range_a = 1..*; say "ali

[perl #75460] 'BEGIN' is run before 'use', even if later in the file

2011-09-30 Thread Will Coleda via RT
On Sun May 30 12:27:55 2010, moritz wrote: > > # fine, no error: > $ ./perl6 -e 'use Test' > # not so nice: > $ ./perl6 -e 'use Test; BEGIN { @*INC.unshift("t/spec/packages") }' > ===SORRY!=== > Can't handle scope declarator my on modules yet > > Apparently the BEGIN block is run before the 'use'

[perl #74300] The presence of a new($) multi method breaks attribute initialization

2011-09-30 Thread Will Coleda via RT
On Mon Apr 12 02:26:38 2010, moritz wrote: > 11:07 <@moritz_> rakudo: class A { has $.a; multi method new ($){ } }; > say A.new(:a).a > 11:07 < p6eval> rakudo 0334df: OUTPUT«Any()␤» > 11:08 <@moritz_> that bit me while writing Date.pm > 11:08 <@moritz_> not sure if it's allowed by spec or not > 1

[perl #64298] Spectest failure arith.rakudo t#170, git hash 9fa0fca on OpenBSD

2011-09-30 Thread Will Coleda via RT
On Tue Apr 06 13:29:34 2010, moritz wrote: > On Mon Mar 30 11:22:50 2009, not@gmail.com wrote: > > make spectest has one failure: > > > > Test Summary Report > > --- > > t/spec/S03-operators/arith.rakudo(Wstat: 0 > > Tests: 197 Failed: 1) > > Fail

[perl #74622] GatherIterator.perl flattens output sometimes.

2011-09-30 Thread Will Coleda via RT
On Fri Apr 23 16:10:49 2010, markjreed wrote: > > say ((1,2) X ).perl > (1, "a", 1, "b", 2, "a", 2, "b") > > Which makes it looks flat, but it's not: > > > say [(1,2) X ].perl > [(1, "a"), (1, "b"), (2, "a"), (2, "b")] > Ironically, these now produce nearly opposite output. 19:25 <[Coke]> raku

[perl #74910] [BUG] augment(or supersede, NYI) doesn't work on non-global classes

2011-09-30 Thread Will Coleda via RT
On Wed May 05 00:22:54 2010, jimmy wrote: > JimmyZ> rakudo: my class bar { method Str() { '11'; }; }; multi sub > foo(bar $x as Int is copy) { say ++$x }; augment class bar { method > Int() { '10' }};foo(bar.new()); > > p6eval> rakudo 1eef08: OUTPUT«Can't augment class bar without 'use >

[perl #61602] Fix Integral values of Inf/NaN

2011-09-30 Thread Will Coleda via RT
On Mon Dec 22 06:00:30 2008, cspencer wrote: > > When calling the .int method on Inf/Nan, the reported value is incorrect: > >"Inf.int.say" produces "-2147483648" > > and > >"NaN.int.say" produces "-2147483648" I think the method for this is now ".Int", but the answers aren't righte

[perl #76958] Rakudo Star build failure

2011-09-30 Thread Will Coleda via RT
On Tue Sep 20 05:19:54 2011, coke wrote: > On Tue Aug 03 08:51:02 2010, sglo...@ita.uni-heidelberg.de wrote: > > > > Hi, > > > > Rakudo Star fails to build for me on my iMac, when I attempt to > > build it > > following the instructions in the README. It dies close to the end > > Very sorr