[perl #71264] [BUG] LTA error when class does class in Rakudo

2010-04-25 Thread jn...@jnthn.net via RT
On Mon Dec 14 05:30:27 2009, masak wrote: > This be Rakudo 7ef386. > > $ perl6 -e 'class A {}; class B does A {}' > Method '!select' not found for invocant of class '' > > That should not be an error at all according to the spec, IIRC; it > should snapshot the class and use the result as a role.

[perl #70886] mt.exe fails to create perl6.exe.manifest -- why is it even trying?

2010-04-25 Thread jn...@jnthn.net via RT
On Mon Dec 07 06:26:06 2009, rblasch wrote: > I think I can reproduce the issue. For a reason I haven't found yet, an > installed parrot's pbc_to_exe runs the following. > > mt.exe -nologo -manifest perl6.exe.manifest > -outputresource:perl6.exe.manifest;1 > > The correct command would be as fol

[perl #65738] Exported subs from imported modules affect imported modules downstream in Rakudo

2010-04-25 Thread jn...@jnthn.net via RT
On Sun May 17 11:57:26 2009, masak wrote: > $ cat A.pm > sub print(*...@args) is export(:DEFAULT) { > say "I'm in ur module, overriding ur functions!"; > } > $ cat B.pm > print "OH HAI" > $ perl6 -e 'use A; use B' > I'm in ur module, overriding ur functions! > > Finally, getting some support f

[perl #74646] [BUG] Multi submethods inherit (but shouldn't) in Rakudo

2010-04-25 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #74646] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=74646 > rakudo: class A { multi method foo($a) { "general" }; multi submethod foo(Str $a) { "sp

[perl #63460] Calling parse on grammar which doesn't exist leads to null PMC access

2010-04-25 Thread jn...@jnthn.net via RT
On Wed Feb 25 00:52:37 2009, matt-w wrote: > > Test case found by masak: > > 08:47 < masak> rakudo: class A {}; A::B.parse("") > 08:47 < p6eval> rakudo 7f8ba6: OUTPUT«Null PMC access in > invoke()␤current > instr.: '_block14' pc 60 (EVAL_20:39)␤» > Now gives: > class A {}; A::B.

[perl #61108] [TODO] 'my class' and 'our class'

2010-04-25 Thread jn...@jnthn.net via RT
On Mon Dec 29 08:40:57 2008, masak wrote: > S12: > > To declare a lexically scoped class, use my class. > > This currently does not work in Rakudo. Lexical class declarations now work, and I've enabled the tests written for this ticket (and written several more on top of it - we're not perfect y

[perl #74638] [BUG] coercion to integer not working in a class to index array

2010-04-25 Thread via RT
# New Ticket Created by Richard Hainsworth # Please include the string: [perl #74638] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=74638 > from #perl6 Apr 24 this works: rakudo: class B {has @.a;has $.u;method m { for $.

[perl #72846] [BUG] Fire-and-brimstone error when calling a method in an anonymous class in Rakudo

2010-04-25 Thread jn...@jnthn.net via RT
On Mon Feb 15 02:53:52 2010, masak wrote: > rakudo: (class { method foo() { say "OH HAI" } }).foo > rakudo 70667a: OUTPUT«Invalid namespace key in set_pmc_keyed [...] > locally, that gives me a failed assertion [in Parrot], too. > * masak submits rakudobug > rakudo: (class {}).foo > rakudo 706

[perl #71404] [TODO] Change Rakudo's "continue" to "nobreak"

2010-04-25 Thread jn...@jnthn.net via RT
On Fri Dec 18 07:05:30 2009, pmichaud wrote: > On Thu, Dec 17, 2009 at 01:40:57PM -0800, Carl Mäsak wrote: > > $ perl6 -e 'given 42 { when 42 { continue }; say "OH HAI" }' > > OH HAI > > > > The spec has been changed so that 'continue' is now spelled 'nobreak'. > > ...and has since been changed a

[perl #68306] Rakudo 2009-07 - Introspection with .^methods

2010-04-25 Thread jn...@jnthn.net via RT
On Sat Aug 08 20:44:24 2009, ajs wrote: > On Sat, Aug 8, 2009 at 5:13 PM, Carl Mäsak wrote: > > > Moritz Lenz (>), Aaron Sherman (via RT) (>>): > > >>> say Str.^methods[0] > > >> sprintf > > >> [...] > > >>> say Str.^methods[0].name > > >> pred > > > > > > Yes, there's a method 'pred'. So what? >

[perl #74648] Rakudo fails when creating Rat from Inf.Int / 1

2010-04-25 Thread via RT
# New Ticket Created by Pawel Pabian # Please include the string: [perl #74648] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=74648 > Moscow build: rakudo: my $x = Inf; say ($x.Int / 1).WHAT; # this one looks bad, I hav

[perl #74640] [BUG] Internal Parrot error when parsing a number in scientific notation with very many decimals in Rakudo

2010-04-25 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #74640] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=74640 > rakudo: 3.14159265358979323846264338327950288419716939937510e0 rakudo 06fe9a: OUTPUT«M

[perl #74608] [BUG] &time doesn't complain about getting arguments in Rakudo

2010-04-25 Thread jn...@jnthn.net via RT
On Fri Apr 23 07:56:49 2010, masak wrote: > question is, why doesn't &time complain when it gets >0 arguments? > masak: bug, I'd say > * masak submits rakudobug > after it's fixed, at least JimmyZ and the likes of him will > get a runtime error. Moved &time to the setting, which uses the Perl 6

[perl #74636] [BUG] class has @.xx does extra wrapping

2010-04-25 Thread via RT
# New Ticket Created by Richard Hainsworth # Please include the string: [perl #74636] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=74636 > code executed on #perl6 April24 I would expect both outputs to be the same. But t