Re: [perl #77202] [BUG] "Method 'foo' not found" error is missing class name

2011-10-04 Thread Mark J. Reed
In 'A.foo', is the invocant really "of class A"? I mean, given that it *is* class A... On Tuesday, October 4, 2011, Will Coleda via RT < perl6-bugs-follo...@perl.org> wrote: > On Fri Aug 13 13:15:01 2010, lithos wrote: >> Hi! >> >> The class name is missing in the error message: >> >> $ ./perl6 -

[perl #76280] [BUG] Four-eyed froggy ::() causes internal Parrot error at compile time in Rakudo

2011-10-04 Thread Will Coleda via RT
On Tue Jun 29 15:58:54 2010, masak wrote: > rakudo: ::() > rakudo 451b40: OUTPUT«===SORRY!===␤ResizablePMCArray: Can't > pop from an empty array!␤» > masak: want to report? :-) > * masak submits ::() rakudobug > rakudo: say "alive"; ::() > rakudo 451b40: OUTPUT«===SORRY!===␤ResizablePMCArray:

[perl #75008] [BUG] Null PMC access on 'nextsame' in multi sub in Rakudo

2011-10-04 Thread Will Coleda via RT
On Mon May 10 06:21:42 2010, masak wrote: > rakudo: multi foo() { nextsame }; foo() > rakudo 3d3893: OUTPUT«Null PMC access in clone()␤current > instr.: '&nextsame' [...] > * masak submits rakudobug 21:11 < [Coke]> rakudo: multi foo() { nextsame }; foo() 21:11 <+p6eval> rakudo 545638: ( no outp

[perl #72918] [BUG] Null PMC access when accessing the value of a try block in Rakudo

2011-10-04 Thread Will Coleda via RT
Merged tickets. -- Will "Coke" Coleda

[perl #72918] [BUG] Null PMC access when accessing the value of a try block in Rakudo

2011-10-04 Thread Will Coleda via RT
On Tue Sep 13 07:06:45 2011, bbkr wrote: > NOM: works, taken for tests > > bbkr:nom bbkr$ ./perl6 -e 'try try try die die die' > bbkr:nom bbkr$ > Whoops: ./perl6 -e 'say try try try die die die' Null PMC access in find_method('gist') in sub say at src/gen/CORE.setting:4954 -- Will "Coke"

[perl #72916] [BUG] Null PMC access when calling a method on the return value of .^add_method in Rakudo

2011-10-04 Thread Will Coleda via RT
On Tue Sep 13 14:39:36 2011, bbkr wrote: > NOM: Still broken. > > bbkr:nom bbkr$ ./perl6 -e 'Rat.^add_method('lol', method ($what) { say > "lol$what" }).lol("cat")' > Could not find sub &lol > > To notice: Somehow it lost Rat context, I mean it does not print > something like "Method 'lol' not fo

[perl #73912] [BUG] Cannot declare X::Y and then X in Rakudo

2011-10-04 Thread Will Coleda via RT
On Tue Mar 30 06:46:26 2010, masak wrote: > This be Rakudo 534afd8 on Parrot r45304. > > $ mkdir X > > $ echo 'class X::Y {}' > X/Y.pm > > $ perl6 -e 'use X::Y; class X {}' > Illegal redeclaration of symbol 'X' > [...] > > Which is obviously bogus; I'm not redeclaring X, not to mention > redecl

[perl #73988] [BUG] No warning or error when declaring two CATCH (or CONTROL) blocks in the same scope in Rakudo

2011-10-04 Thread Will Coleda via RT
On Fri Apr 02 04:42:43 2010, masak wrote: > rakudo: die "A"; CATCH { say "OH HAI" }; CATCH { say "OH NOES" > } > rakudo 63ff06: OUTPUT«OH HAI␤» > std: die "A"; CATCH { say "OH HAI" }; CATCH { say "OH NOES" } > std 30265: OUTPUT«ok 00:01 106m␤» > what actually *does* happen when you have two CA

[perl #77026] [BUG] Misleading .perl of anonymous classes in Rakudo

2011-10-04 Thread Will Coleda via RT
On Thu Aug 05 14:14:15 2010, masak wrote: > rakudo: my $a = class { has $a; }; say $a.new(a => 1).perl; # > that looks funny too... > rakudo 19931f: OUTPUT«.new(a => 1)␤» > but i have no idea what is "right", just looks funny... > * masak submits rakudobug > rakudo: my $a = class { has $a; };

[perl #73502] [BUG] '@_.=[3]' causes a strange error in Rakudo

2011-10-04 Thread Will Coleda via RT
On Thu Mar 25 02:44:12 2010, moritz wrote: > On Wed Mar 10 15:37:13 2010, masak wrote: > > rakudo: @_.=[3] > > rakudo 0a0469: OUTPUT«Method '!postcircumfix:<[ ]>' not found > > for invocant of class 'ResizablePMCArray' [...] > > was that one submitted? > > it's a diakopterbug. > > Not sure on

[perl #72082] [BUG] LTA error message when sending too few parameters to an only sub

2011-10-04 Thread Will Coleda via RT
On Thu Jan 14 07:12:33 2010, masak wrote: > This be Rakudo db84bc, chugging along on Parrot r43174. > > $ perl6 -e 'sub foo(@a, $b) {}; foo(5)' > Nominal type check failed for parameter '@a'; expected Positional but > got Int instead > > While the nominal type check does indeed fail when sending

[perl #75440] [BUG] ranges from multiple application of X not working

2011-10-04 Thread Will Coleda via RT
On Wed Aug 11 09:49:17 2010, coke wrote: > On Sun May 30 01:07:08 2010, richardh wrote: > > from IRC #perl6 May 30 > > > > plain application of X works: > > > > finanalyst: rakudo: for 1,2 X { say "$^x $^y" } > > p6eval: rakudo 34542f: OUTPUT«1 a 1 b␤2 a 2 b␤» > > > > multiple application does

[perl #75432] can't add multi methods by monkey typing

2011-10-04 Thread Will Coleda via RT
On Sat May 29 07:30:06 2010, moritz wrote: > 16:27 <@moritz_> rakudo: class A { multi method a() { }; multi method > a() { } } > 16:27 < p6eval> rakudo bbb336: ( no output ) > 16:27 <@moritz_> rakudo: class A { multi method a() { }}; use > MONKEY_TYPING; > augment class A { multi

[perl #77056] A run-time error in MAIN() dispatch leads to USAGE call, not to a proper error message

2011-10-04 Thread Will Coleda via RT
On Fri Aug 06 13:33:36 2010, moritz wrote: > 22:31 < moritz_> rakudo: sub MAIN($x = unknown_function()) { }; > 22:31 <+p6eval> rakudo 0e5edb: OUTPUT«Usage:␤/tmp/xxCYRgfKfJ [x]␤» > > Found by Eddward++ rakudo master says: $ perl6 -e 'sub MAIN($x = unknown_function()) { };' Could not find sub &unk

[perl #80668] Could not load oplib `perl6_ops'

2011-10-04 Thread Will Coleda via RT
On Mon Dec 13 02:14:20 2010, liuyifang20082...@yahoo.com.cn wrote: > Hi,I have just installed setup-parrot-2.10.0.exe and > setup-parrot-2.10.0-rakudo-35.exe on my Win32 system C:\Parrot-2.10.0.\ > > my problem is: > > under C:\ partion there is no problem: > C:\>perl6 matches.pl > Hello > > bu

[perl #78626] Patch: support higher arity in reduce()

2011-10-04 Thread Will Coleda via RT
On Wed Oct 27 00:22:05 2010, smosher wrote: > > Hi, > > Attached is a diff against rakudo/src/core/Any-list.pm which adds >support to reduce() for higher-arity functions. It ensures arity- >list agreement and is generally safe. Other than the test, the >functionality was already pres

[perl #76328] nextsame in main block gives Null PMC access

2011-10-04 Thread Will Coleda via RT
On Thu Jul 01 10:43:54 2010, pawel.pab...@implix.com wrote: > on Kiev build > > $ perl6 -e 'nextsame' > Null PMC access in clone() > in main program body at line 1 > > I don't think it is supposed to re-run main block (it's not Callable, isn't > it?). but more awesome message should be given.

[perl #77202] [BUG] "Method 'foo' not found" error is missing class name

2011-10-04 Thread Will Coleda via RT
On Fri Aug 13 13:15:01 2010, lithos wrote: > Hi! > > The class name is missing in the error message: > > $ ./perl6 -e 'class A {}; A.foo' > Method 'foo' not found for invocant of class '' > in main program body at line 1 > > $ ./perl6 -e 'Any.foo' > Method 'foo' not found for invocant of class

[perl #76456] [BUG] --target=parse confused by role parameter

2011-10-04 Thread Will Coleda via RT
On Sat Jul 10 23:14:57 2010, cognominal wrote: > $ cat A.pm > role A[::T] { } > $ perl6 A.pm > $ perl6 --target=parse A.pm > ===SORRY!=== > Method 'symbol' not found for invocant of class 'Undef' > $ > > A program with the sole ::T has no problem > Error message has changed: $ perl6 --target=pa

[perl #65172] .ord() does not work on graphemes

2011-10-04 Thread Will Coleda via RT
On Mon Apr 27 06:20:19 2009, hel...@wollmersdorfer.at wrote: > $ ./perl6 -e 'say "\c[LATIN CAPITAL LETTER A, COMBINING DOT ABOVE]".ord;' > 65 > $ ./perl6 -e 'say "\c[LATIN CAPITAL LETTER A WITH DOT ABOVE]".ord;' > 550 > > Both results should be the same in grapheme mode. Grapheme mode is default.

[perl #76986] multiple use of "my $" in the same scope warns about redeclaration

2011-10-04 Thread Will Coleda via RT
Same behavior in rakudo 7408d6. -- Will "Coke" Coleda

[perl #76120] [TODO] backslash escapes in double-angle quotes

2011-10-04 Thread Will Coleda via RT
On Sat Jun 26 09:24:14 2010, moritz wrote: > 18:21 <@moritz_> rakudo: say :foo<>.perl > 18:21 <+p6eval> rakudo 142433: OUTPUT«"foo" => ("string\\", "here")␤» > 18:21 <@moritz_> alpha: say :foo<>.perl > 18:21 <+p6eval> alpha 30e0ed: OUTPUT«"foo" => "string here"␤» > 18:21 <@moritz_> rakudobug! > >

[perl #76918] BUG: @array.^methods.sort() returns duplicates.

2011-10-04 Thread Will Coleda via RT
On Sun Aug 01 19:41:08 2010, shirtless wrote: > Hi Rakudo, > > I tested this on rakudo star on Windows 7, but will test it on linux > later as well. > > > C:\Users\tom\Code\p6-imap>perl6 > > Doing this will return the methods as expected: > > > @array.^methods; > new splice perl delete at_pos

[perl #78830] ResizablePMCArray error for "require ::;"

2011-10-04 Thread Will Coleda via RT
On Fri Nov 05 05:21:58 2010, pawel.pab...@implix.com wrote: > [13:17] rakudo: require ::; # some PMC array is visible in > error > message (despite code being stupid). report or already known? > [13:17] rakudo 142d22: OUTPUT«===SORRY!===␤ResizablePMCArray: > Can't > pop from an empty array!␤» >

[perl #75320] Quoted >> raises false error about right-shift

2011-10-04 Thread Will Coleda via RT
On Mon May 24 10:50:57 2010, david.gr...@telus.net wrote: > Use of ">>" in a double-quoted string gets incorrectly recognised as > an attempt to use the P5 right-shift operator: > > my $x; say "$x >> "; > Unsupported use of >> to do right shift; in Perl 6 please use +> > or ~> at line 1, n

[perl #77036] Elements from gather list are not Stringy after join

2011-10-04 Thread Will Coleda via RT
On Fri Aug 06 01:30:28 2010, q...@cono.org.ua wrote: > #git rev-parse HEAD > 0e5edb5c5fb2c2a2011c5a41d0f5161bcd1f8885 > > 11:22 < cono> rakudo: class E {has $.n is rw; has $.v is rw; method > Str{~self.v}}; my E $x .= new(:v(1)); $x.n = E.new(:v(2)); (gather { > my $i = $x; while $i.defined { take

[perl #67046] [PATCH] - implemented: "not" "Object"'s method, and "sign" "Num"'s method

2011-10-04 Thread Will Coleda via RT
On Fri Aug 13 13:55:11 2010, lithos wrote: > ".not" and ".so" are still missing in current Rakudo: > > $ ./perl6 > > True.so > Method 'so' not found for invocant of class 'Bool' > > True.not > Method 'not' not found for invocant of class 'Bool' > > 1.so > Method 'so' not found for invocant of clas

[perl #75818] [BUG] [PATCH] Zip operator Z should return a list of parcels

2011-10-04 Thread Will Coleda via RT
On Thu Jun 17 00:38:17 2010, ciphertext wrote: > ciphertext: rakudo: (1,2,3 Z 4,5,6).perl.say > p6eval: rakudo c9ee2e: OUTPUT«(1, 4, 2, 5, 3, 6)␤» > ciphertext: rakudo: (1,2,3 Z[,] 4,5,6).perl.say > p6eval: rakudo c9ee2e: OUTPUT«(1, 4, 2, 5, 3, 6)␤» > pmichaud: > (1,2,3 Z[,] 4,5,6).perl.say > pmich

[perl #75752] [PATCH] make realclean before svn update (parrot)

2011-10-04 Thread Will Coleda via RT
On Tue Jul 27 18:58:37 2010, coke wrote: > On Tue Jun 15 00:11:43 2010, q...@cono.org.ua wrote: > > perl Configure.pl --gen-parrot failed time to time. Need to do > > realclean before update. > > > > diff --git a/build/gen_parrot.pl b/build/gen_parrot.pl > > index 63173a3..572f474 100644 > > --- a/

[perl #100650] [BUG] Combination of character classes and capturing groups gives incorrect results in Rakudo (nqp)

2011-10-04 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #100650] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=100650 > I broke nom last night! nom: say ('aabaa' ~~ /\N+ b/).perl nom 834d9d: OUTPUT«