[perl #99560] Lexical '$r' not found

2011-09-19 Thread Jimmy Zhuo
# New Ticket Created by "Jimmy Zhuo" # Please include the string: [perl #99560] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=99560 > JimmyZ> rakudo: class A { multi trait_mod:( $r, :$rwr!) { $r.set_rw(); }; sub b is

[perl #76294] [BUG] Can't implicitly numify Failure in Rakudo

2011-09-19 Thread Will Coleda via RT
On Wed Jun 30 07:48:56 2010, masak wrote: > rakudo: say "abcd".index("xyz") == 0 > rakudo aa015a: OUTPUT�Method 'Bridge' not found for invocant > of class 'Failure' [...] > arnsholt: possible issue :) > * masak submits rakudobug > rakudo: Failure == 0 > rakudo aa015a: OUTPUT�Method 'Bridge' no

[perl #75700] [BUG] Null PMC access when using the return value of a routine with no statements in Rakudo

2011-09-19 Thread Will Coleda via RT
On Sun Jun 27 23:27:38 2010, pmichaud wrote: > The empty statement bug is resolved in 05684c07. The 'succeed' bug > looks like it will require a bit more work. > > Pm The former outputs Nil, the latter is now: 00:38 < [Coke]> rakudo: sub foo() { succeed }; say foo 00:38 <+p6eval> rakudo cbdd9b:

[perl #75918] [BUG] Dying with a custom-made exception only outputs the first character of error message in Rakudo

2011-09-19 Thread Will Coleda via RT
On Sun Jun 27 22:18:48 2010, pmichaud wrote: > The problem is not unique to derived classes. Standard exceptions also > have the issue as well: > > die Exception.new("Test");# displays "T" > > The problem appears to be that Exception.new() expects a Parrot > Exception PMC as an argument,

[perl #75990] Perl6MultiSub.say missing

2011-09-19 Thread Will Coleda via RT
On Sun Jun 27 16:54:22 2010, pmichaud wrote: > On Sun Jun 27 16:52:47 2010, pmichaud wrote: > > Are we expecting Perl6MultiSub to be a subclass of Any? > > > Note that multisubs stringify just fine, it's the .say method that isn't > present. > > Pm Seems to be now: 00:36 < [Coke]> rakudo: Seq.

[perl #67778] [BUG] '...' should probably be defined in terms of leave instead of return in Rakudo

2011-09-19 Thread Will Coleda via RT
On Fri Jun 25 08:15:10 2010, bbkr wrote: > on Kiev build > > [17:14] rakudo: class AtestOfSay { ... }; my AtestOfSay $t; say $t; > [17:14] rakudo f34e78: OUTPUT«Null PMC access in type()␤ in > main program body at line 11:/tmp/ATDzL_3KZX␤» Better: 00:35 < [Coke]> rakudo: class AtestOfSay { ..

[perl #75976] strange behavior on double call of 'use Test;'

2011-09-19 Thread Will Coleda via RT
On Tue Jun 22 16:39:32 2010, cognominal wrote: > use Test; > use Test; > > =begin pod > > I would expect the second call to 'use Test' to be a noop. > More strangely, I get the same redefinition error but for > _different_ functions on successive calls of the same program. > > bash 3.2 $ perl6

[perl #73910] [BUG] Strange error when defining a class after 'use' in Rakudo

2011-09-19 Thread Will Coleda via RT
On Fri Jun 18 07:25:04 2010, masak wrote: > This seems to have been fixed by now; can't reproduce the error locally. /still/ fixed. needs tests. -- Will "Coke" Coleda

[perl #75810] [PATCH] Multiple bug fixes (list branch)

2011-09-19 Thread Will Coleda via RT
On Wed Jun 16 09:05:34 2010, ciphertext wrote: > Apply to branch list, commit ddb39d064c6e334f4d08 > Fixes these bugs: Sorry, this branch has been deleted. If these fixes are still relevant, we'd love a patch against the latest (nom) branch. Thanks, sorry for the delay in processing. -- Will

[perl #75686] [PATCH] - add limit definition to lines sub

2011-09-19 Thread Will Coleda via RT
Sorry it took so long, but, while the patch has bitrotted slightly and won't apply, it looks like we now have a limit arg anyway. Thanks for the patches, we'll try to get faster in processing the backload! -- Will "Coke" Coleda

[perl #75646] [BUG] Null PMC access when typing a variable as ::foo in Rakudo

2011-09-19 Thread Will Coleda via RT
On Wed Jun 09 14:45:50 2010, masak wrote: > rakudo: my ::foo $x; > rakudo a54677: OUTPUT�Null PMC access in type() [...] > masak: You only got a birdie, not a hole in one. :P > jnthn: will update the ticket. > hee > :-) > masak: Yeah, I was looking at it thinking "hmm, I know how > that code

[perl #68738] [BUG] [LHF] "say Exception" causes seg fault

2011-09-19 Thread Will Coleda via RT
On Sun Jun 06 10:11:36 2010, lue wrote: > > say Exception; > Exception() > > eval "RONG" or say $!.PARROT > Perl6Exception > > eval "RONG" or say $!.WHAT > Exception() > > eval "RONG" or die $! > Could not find sub &RONG > > eval "RONG" or say $!.^methods(:local)>>.name.perl > ("exception", "", "ha

[perl #74112] [BUG] You can hash-index a string in Rakudo

2011-09-19 Thread Will Coleda via RT
On Fri May 21 06:07:03 2010, bbkr wrote: > > [15:02] rakudo: say '16'{'%x'} # checking if > http://rt.perl.org/rt3/Ticket/Display.html?id=74112 is fixed > [15:02] rakudo e6863e: OUTPUT«Method 'postcircumfix:<{ }>' not > found for invocant of class 'Str'␤current instr.: '!postcircumfix:<{ }>' > p

[perl #75030] [PATCH] Lexical persistence & autoprinting for the REPL

2011-09-19 Thread Will Coleda via RT
Closing ticket as resolved - I don't think we applied the original patch, but we have REPL autoprinting for some time now. Thanks for the submission! -- Will "Coke" Coleda

[perl #74820] [BUG] No runtime warning when list-assigning to readonly things in Rakudo

2011-09-19 Thread Will Coleda via RT
On Mon May 03 04:20:44 2010, moritz wrote: > Am 03.05.2010 12:30, schrieb Mark J. Reed: > > Huh? Those are explicitly read-write. Why is it dying at all? > > Yes. I think masak++ picked up the wrong lines from p6eval: > > <@moritz_> rakudo: sub swap($a, $b) { ($a, $b) = ($b, $a) }; swap my > $z

[perl #69182] [BUG] Ugly interaction between Rat objects and integer overflow

2011-09-19 Thread Will Coleda via RT
On Fri Apr 30 07:57:00 2010, bbkr wrote: > This returns NAN now (in my case on 1024th operation) > > > perl6 -e 'my $d = 2; my $p = 1; for 1..1024 { print "operation $_: "; > say $p *= ($d-1)/($d); $d *= 2 }' > > operation 1017: 0.288788095086602 > operation 1018: 0.288788095086602 > operation 1

[perl #69182] [BUG] Ugly interaction between Rat objects and integer overflow

2011-09-19 Thread Will Coleda via RT
On Fri Apr 30 07:57:00 2010, bbkr wrote: > This returns NAN now (in my case on 1024th operation) > > > perl6 -e 'my $d = 2; my $p = 1; for 1..1024 { print "operation $_: "; > say $p *= ($d-1)/($d); $d *= 2 }' > > operation 1017: 0.288788095086602 > operation 1018: 0.288788095086602 > operation 1

[perl #60780] Trouble when iteration variables don't add up

2011-09-19 Thread Will Coleda via RT
On Mon Apr 05 14:21:29 2010, coke wrote: > On Sun Jan 11 00:21:58 2009, pmichaud wrote: > > On Mon Nov 24 09:12:36 2008, masak wrote: > > > rakudo: for 1..5 -> $a, $b { say $a, $b } > > > rakudo 33137: OUTPUT[12␤34␤StopIteration␤current instr.: > > > '_block11' pc 78 (EVAL_15:29)␤] > > > > > > I

[perl #68024] [TODO] Make &infix:($op) work

2011-09-19 Thread Will Coleda via RT
On Tue Mar 30 08:24:48 2010, moritz wrote: > The &infix:{$foo} form is now gone from the spec, but &infix:($foo) > should work, afaict. 23:54 < [Coke]> rakudo: my $foo="+";&infix:($foo)(3,4).say 23:54 <+p6eval> rakudo cbdd9b: OUTPUT«===SORRY!===␤Symbol '&infix:($foo)' not predecla

[perl #71810] [BUG] multiple declared subs

2011-09-19 Thread Will Coleda via RT
On Mon Mar 29 05:42:50 2010, moritz wrote: > broken again in current rakudo. Tests are in > t/spec/S04-declarations/multiple.t. > > Cheers, > Moritz I don't see code in that file that resembles the code in the ticket, nor an RT#. -- Will "Coke" Coleda

[perl #66966] [BUG] Supposedly equivalent code doesn't work the same when formatted with different whitespace

2011-09-19 Thread Will Coleda via RT
On Thu Jun 25 12:53:52 2009, matt-w wrote: > As far as I'm aware, these should be, semantically, the same: > > role R { } > class C { > method a { } > &a := method { } but R; > } > > and > > role R {}; class C { method a { }; &a := method { } but R; } > > However, the first says: > > rtype

[perl #68136] Rakudo causes a Parrot assertion to fail when a parameterized role does a non-parameterized role

2011-09-19 Thread Will Coleda via RT
On Sun Aug 02 13:58:12 2009, eternal...@gmail.com wrote: > This code causes Parrot to fail in a rather spectacular manner: > > role TreeNode[::T] does Positional { > has TreeNode[T] @!children handles 'postcircumfix:<[ ]>'; > has T $.data is rw; > }; > my $tree = TreeNode[Int].new; > $

[perl #71460] [BUG] Null PMC access when accessing an enum element in an enum with double colons in its name in Rakudo

2011-09-19 Thread Will Coleda via RT
On Sun Dec 20 07:48:08 2009, masak wrote: > rakudo: enum A::B ; say b > rakudo 8dc189: ( no output ) > locally, 'Null PMC access in type()'. > * masak submits rakudobug This already has tests, which are passing un-fudged! Closing ticket. -- Will "Coke" Coleda

[perl #73392] [PATCH] Fix parsing of overflowing numbers with exponent part

2011-09-19 Thread Will Coleda via RT
Sorry about the delay in responding. These patches no longer apply, so I'm rejecting the ticket. Thanks for the submittal, we do appreciate it, even if we're slow to respond. -- Will "Coke" Coleda

[perl #73350] [PATCH] Add p5chomp and add p5chomp and p5chop to tests

2011-09-19 Thread Will Coleda via RT
Sorry about the delay in responding. Thanks for the patch. These were removed from the spec in https://github.com/perl6/specs/commit/9538e55c7dbcadf6002a2b68b8baaf094f8af78d -- Will "Coke" Coleda

[perl #73412] [BUG] Can't initialize a Str-typed hash variable with a hash or a pair in Rakudo

2011-09-19 Thread Will Coleda via RT
On Sun Mar 07 10:53:09 2010, masak wrote: > rakudo: my Str %s = {a => 'b'} > rakudo 657c16: OUTPUT�get_pmc_keyed() not implemented in > class '' [...] > * masak submits rakudobug > rakudo: my %s = {a => 'b'} > rakudo c36413: ( no output ) > rakudo: my Str %s > rakudo c36413: ( no output ) >

[perl #72816] [BUG] Cannot assign to an undeclared dynamic variable in Rakudo

2011-09-19 Thread Will Coleda via RT
On Mon Sep 19 20:34:36 2011, coke wrote: > On Mon Feb 15 00:53:39 2010, masak wrote: > > rakudo: my $*x = 42; say $*x.WHAT > > rakudo 70667a: OUTPUT«Int()␤» > > rakudo: $*x = 42; say $*x.WHAT > > rakudo 70667a: OUTPUT«Cannot assign to readonly > value␤current > > instr. '&infix:<=>' pc 15648 (s

[perl #73122] [BUG] Output disappears when doing certain calls to &index using strings with accents in them in Rakudo

2011-09-19 Thread Will Coleda via RT
On Fri Feb 26 07:06:43 2010, masak wrote: > 14:38 rakudo: say index("úuúuùù", "úuù"); > 14:38 rakudo 403afe: ( no output ) > I call parrotbug. > code coming up. > http://nopaste.snit.ch/19794 # bug with index op? > Parrot FAIL. > * masak adds this to the RT ticket > That doesn't explain

[perl6/specs] fe723c: rm "Conjectural" from :D and :U

2011-09-19 Thread noreply
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: fe723c3b27ef3a24152d27ca315e175a656fa565 https://github.com/perl6/specs/commit/fe723c3b27ef3a24152d27ca315e175a656fa565 Author: Larry Wall Date: 2011-09-19 (Mon, 19 Sep 2011) Changed paths: M S12-ob

[perl #70267] [BUG] Null PMC access when calling nextsame in anonymous block in Rakudo

2011-09-19 Thread Will Coleda via RT
On Fri Nov 13 21:10:30 2009, KyleHa wrote: > This is an automatically generated mail to inform you that tests are > now available in t/spec/S06-advanced_subroutine_features/wrap.t Test is now in t/spec/S06-advanced/wrap.t -- Will "Coke" Coleda

[perl #66648] [BUG] Null PMC access when doing EnumType.value in Rakudo

2011-09-19 Thread Will Coleda via RT
On Tue Jun 16 15:03:41 2009, masak wrote: > rakudo: enum A ; say A.b > rakudo 952fe6: OUTPUT�Null PMC access in get_string() [...] > * masak submits rakudobug > (yes, I know it should be A::b) This has a test that is passing (S02-types/enum.t). Fudged remaining test and added it to the specte

[perl #65700] Subtyped attributes can be instantiated with impossible values in Rakudo

2011-09-19 Thread Will Coleda via RT
On Mon Oct 26 14:50:37 2009, KyleHa wrote: > This is an automatically generated mail to inform you that tests are > now available in t/spec/S12-subset/subtypes.t And we now run this test, with no skips or todos. \o/ -- Will "Coke" Coleda

[perl #65396] GC issue in range/postcircumfix:<[ ]>

2011-09-19 Thread Will Coleda via RT
On Sun Oct 11 06:45:51 2009, KyleHa wrote: > On Tue May 05 04:40:41 2009, jn...@jnthn.net wrote: > > > ..\..\parrot -G perl6.pbc -e " my @array = (3,7,9,11); say @array[0..1]" > > called from Sub 'parrot;Int;succ' pc 5519 (src\classes\Int.pir:83) > > called from Sub 'parrot;Perl6Object;' pc 1272 (

[perl #69388] result of $obj.^can make say() silently abort

2011-09-19 Thread Will Coleda via RT
On Fri Sep 25 09:10:07 2009, moritz wrote: > Program: > > class B { > multi method B_method() { > say "in B::B_method"; > } > } > > my $obj = B.new(); > > say $obj.HOW.can($obj, 'B_method'); > say "alive"; > say $obj.^can('B_method'); > say "alive"; > > > Output: > __START__ >

[perl #64846] Rakudo can't handle ::$x() where $x isa Str

2011-09-19 Thread Will Coleda via RT
On Sun Apr 19 07:18:51 2009, masak wrote: > rakudo: sub foo { say "bar" }; my $x = 'foo'; ::$x() > rakudo df8662: OUTPUT�ResizablePMCArray: Can't pop from an > empty array! [...] > that looks a bit like a bug > * moritz_ summons masak > moritz_: oh hai. > * masak submits Output is now: 20:39

[perl #69160] Twin exceptions cause assertion failure and/or unrequested error message

2011-09-19 Thread Will Coleda via RT
On Wed Sep 16 02:56:54 2009, moritz wrote: > Thanks for the ticket, it's a very good catch and analysis. > I have some small comments on it: > > Bruce Gray (via RT) wrote: > > # New Ticket Created by Bruce Gray > > # Please include the string: [perl #69160] > > # in the subject line of all futu

[perl #63584] Error Building Rakudo/Parrot on Mac OS X 10.5.6 (mixed perls)

2011-09-19 Thread Will Coleda via RT
Looks like the original issue was diagnosed; I regularly build on darwin with no issues. If this is still an issue on recent rakudos, please let us know. Regards. -- Will "Coke" Coleda

[perl #74668] [BUG] Adding a parent to a class during 'augment' fails for a strange reason in Rakudo

2011-09-19 Thread Will Coleda via RT
As jnthn noted, there's now a nicer error: > Parents cannot be added to a class after it has been composed

[perl #99462] LTA bug

2011-09-19 Thread Jimmy Zhuo
# New Ticket Created by "Jimmy Zhuo" # Please include the string: [perl #99462] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=99462 > JimmyZ> rakudo: class A { has $!b = 10; method foo() { say self!b }; }; my $b = A.