[perl #62148] Cannot take .values of an uninitialized Any variable

2009-01-10 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #62148] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62148 masak rakudo: my Any $x .= new; say $x.values p6eval rakudo 35320: OUTPUT«Method

[perl #62156] Problems with File objects

2009-01-10 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #62156] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62156 masak rakudo: File.new p6eval rakudo 35336: OUTPUT«get_bool() not implemented in

[perl #62068] output from .perl for regex

2009-01-10 Thread Carl Mäsak via RT
Richard (): The output from .perl for a regex could be more useful than currently. [...] Perhaps, Regex { digit+ } That does not seem to be legal Perl 6 to me. The idea of .perl is to output runnable code, after all. How about this instead? / digit+ /

[perl #62168] .comb doesn't take zero arguments in Rakudo

2009-01-10 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #62168] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62168 TimToady rakudo: a b c.comb.perl.say p6eval rakudo 35345: OUTPUT«too few arguments

Re: [perl #62068] output from .perl for regex

2009-01-10 Thread Richard Hainsworth
/ digit+ / is what I thought it should be. { ... } is what rakudo current gives, which from the point of view of runnable code and comprehensible output, are wrong. Carl Mäsak via RT wrote: Richard (): The output from .perl for a regex could be more useful than currently. [...]

[perl #62166] There's something wrong with input in Rakudo

2009-01-10 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #62166] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62166 Rakudo r35341 no longer does input correctly. $ perl6 -e 'my $foo = =$*IN' Attempt

[perl #62162] Problem when instantiating a class which has an argument typed as a class which loads a grammar in Rakudo

2009-01-10 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #62162] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62162 The following three correct Perl 6 modules give a runtime error in Rakudo r35336. $

Re: [perl #62170] Rakudo retains the Perl 5 behavior of trimming trailing fields

2009-01-10 Thread Patrick R. Michaud
On Sat, Jan 10, 2009 at 09:45:06AM -0800, Carl Mäsak wrote: mberends rakudo: a b c.split(/ .sp+ /).perl.say p6eval rakudo 35344: OUTPUT«[, a, b, c]␤» TimToady oh, and the p5 behavior of trimming trailing fields is not in p6 TimToady (for split) * masak submits rakudobug This looks

[perl #61324] [BUG] Some issues with undefined scalar and array values.

2009-01-10 Thread Patrick R. Michaud via RT
Now fixed in r35389: $ ./parrot perl6.pbc my $x; say $x, 2 Use of uninitialized value 2 my $x = undef; say $x, 2; Use of uninitialized value 2 my @a; @a[2] = 'b'; say @a; Use of uninitialized value Use of uninitialized value b my @a; @a[2] = 'b'; say @a.perl; [undef, undef, b] We probably

[perl #62148] Cannot take .values of an uninitialized Any variable

2009-01-10 Thread Patrick R. Michaud via RT
On Fri Jan 09 14:17:02 2009, masak wrote: masak rakudo: my Any $x .= new; say $x.values p6eval rakudo 35320: OUTPUT«Method '!flatten' not found for invocant of class 'Any' [...] * masak submits rakudobug Now fixed in r35392, although I'm not sure what the correct behavior should be. $

[perl #62162] Problem when instantiating a class which has an argument typed as a class which loads a grammar in Rakudo

2009-01-10 Thread Patrick R. Michaud via RT
On Sat Jan 10 07:23:00 2009, pmichaud wrote: On Sat Jan 10 07:06:01 2009, masak wrote: The following three correct Perl 6 modules give a runtime error in Rakudo r35336. [...] $ cat URI.pm use v6; class URI; I'm not sure this is legal Perl 6. S11 says that the class Foo;

[perl #62122] ~ in regexes doesn't allow braces as the last term

2009-01-10 Thread Patrick R. Michaud via RT
'(' ~ ')' 'a'* parses and does what I mean, but when I replace the last term with ['a'*] it fails to parse. Looks like a bug in PGE's parser, I'll look into this in a day or so. Thanks, Pm

[perl #62176] wierd segmentation fault with correct code.

2009-01-10 Thread Patrick R. Michaud via RT
On Sat Jan 10 12:19:38 2009, richardh wrote: Getting a wierd segmentation fault with the following program (also attached). I am using rakudo from parrot 35286 [...] Try running the script using parrot directly instead of the perl6 binary, and let us know if you still see the segfault.