[perl #77270] [BUG] LTA error message when misspelling type names in signatures in Rakudo

2010-08-17 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #77270] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77270 > rakudo: sub foo(--> NoSuchType) { say "OH HAI" } rakudo b64718: OUTPUT«===SORRY!===␤Un

[perl #77272] [BUG] LTA error message when misspelling a type name after inheritance 'is' in class declaration in Rakudo

2010-08-17 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #77272] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77272 > rakudo: class A is NoSuchType {} rakudo 85602a: OUTPUT«===SORRY!===␤No applicable cand

[perl #77274] [BUG] Class cannot inherit first from parent and then from grandparent in Rakudo

2010-08-17 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #77274] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77274 > rakudo: class A { method foo { say "OH HAI" } }; class B is A {}; class C is A is B {};

Re: slurpy hash

2010-08-17 Thread Darren Duncan
David H. Adler wrote: Hm. So how are valid parameter names defined? Identifiers in perl6 seem to be composed of letters, digits and underscores (and hyphens and apostrophes between letters). Are parameter names defined differently? You certainly seem to be able to declare a variable $1. I belie

Re: Large integers, ** and Int

2010-08-17 Thread Aaron Sherman
Re-sending my message which went to parrot-dev, and should have gone to perl6-compiler. Sorry. On Tue, Aug 17, 2010 at 6:48 PM, Aaron Sherman wrote: > > On Tue, Aug 17, 2010 at 11:51 AM, Moritz Lenz wrote: > >> Aaron Sherman wrote: >> > I did eventually discover that I needed to do this. The pr

[perl #70600] [BUG] Rakudo gets confused when the exponent in scientific notation is large enough

2010-08-17 Thread Will Coleda via RT
On Tue Nov 17 08:32:14 2009, masak wrote: > rakudo: say 0e999 # masak > rakudo 7347ec: undefined identifier 'NaN' [...] > ng: say 0e999 > ng 94fa72: error:imcc:syntax error, unexpected IDENTIFIER, > expecting COMMA or ')' ('NaN') > whoa > * masak submits rakudobug 00:29 <[Coke

[perl #69518] [BUG] Rakudo allows instantiating subtypes, shouldn't

2010-08-17 Thread Will Coleda via RT
On Thu Oct 01 03:44:43 2009, masak wrote: > rakudo: subset Foo of Object where Str | Int; my $foo = > Foo.new; say $foo.WHAT > rakudo ffe648: OUTPUT«()␤» > * masak submits another rakudobug > > Should probably be a compile-time error, even. This better? 00:30 <[Coke]> rakudo: subset Foo of Obj

[perl #74352] [BUG] Strange type object-related error when doing a junction in a subtype with the same nominal check several times in Rakudo

2010-08-17 Thread Will Coleda via RT
On Tue Apr 13 09:22:39 2010, masak wrote: > rakudo: subset A of Array; subset B of A; subset C of A; > subset D of A where B & C; say [] ~~ D > rakudo 3b5a79: OUTPUT«Type objects are abstract and have no > attributes, but you tried to access [...] > * masak submits rakudobug > it appears to be a

[perl #77124] [BUG] 'perl6 --help' doesn't give any help in Rakudo

2010-08-17 Thread Will Coleda via RT
On Mon Aug 09 23:53:11 2010, masak wrote: > guys hi > I download rakudo, and when I try do "perl6 --help" I get, > http://nopaste.snit.ch/22656 > the error ^ > or perl6 help, perl6 h > > Here's the nopaste: > > Unable to open filehandle from path 'h' > current instr.: 'perl6;PCT;HLLCompiler;

[perl #76436] rakudo parses "555 ~~!~~ 666" but STD doesn't

2010-08-17 Thread Will Coleda via RT
On Fri Jul 09 03:45:52 2010, pawel.pab...@implix.com wrote: > [12:43] std: 555 ~~!~~ 666 > [12:43] std 31588: > OUTPUT«===SORRY!===␤Expecting a > term, but found either infix ~~ or redundant prefix ~␤ (to suppress > this > message, please use space between ~ ~) at /tmp/EZ59HXaH

[perl #74654] [BUG] '&$b()' is parsed wrongly by Rakudo

2010-08-17 Thread Will Coleda via RT
On Sun Apr 25 07:22:56 2010, masak wrote: > masak: alpha is diferent from rakudo > masak: which one is right? > alpha: my $b = &time; say &$b(); > alpha 30e0ed: OUTPUT«1272203938.46735␤» > rakudo: my $b = &time; say &$b(); > rakudo e393c7: OUTPUT«␤» > rakudo: my $b = &time; say $b(); > raku

[perl #73740] [BUG] Parsefail when semicolon missing from 'use' statement in Rakudo

2010-08-17 Thread Will Coleda via RT
On Mon Mar 22 07:28:11 2010, masak wrote: > Bug courtesy of uasi on Twitter: > . > > rakudo: use Test; > But that came to and end a while ago. :-) > rakudo 35f337: ( no output ) > rakudo: use Test > long delays... :/ > rakudo 35f337: ( no output

[perl #74822] [BUG] Too many CR in a for loop with %

2010-08-17 Thread Will Coleda via RT
On Sat May 01 07:09:45 2010, richardh wrote: > see IRC #perl6 1 May > > finanalyst: rakudo: my %h= Z 1,2,3; for %h { .say } > p6eval: rakudo c4857a: OUTPUT«a 1␤b 2␤c 3␤␤» > > finanalyst: masak: i think there should only be one CR not two in the > rakudo output > masak: yes, now I see it. > masak

[perl #64124] Segmentation fault in embedding Parrot into Perl 5

2010-08-17 Thread Will Coleda via RT
On Mon Mar 23 13:09:56 2009, szab...@gmail.com wrote: > I am not sure if this is a Parrot or Rakudo bug > or just a plain invalid usage on my side. > > The following code runs, prints the prompt but when I > enter a response I get a Segmentation fault. > > Gabor > > > #!/usr/bin/perl > use stri

[perl #72830] [BUG] Parse difficulties with '::%%r' in Rakudo

2010-08-17 Thread Will Coleda via RT
On Mon Feb 15 01:50:21 2010, masak wrote: > std: my %r = 4; say ::%%r > std 29733: OUTPUT«ok 00:01 107m␤» > rakudo: my %r = 4; say ::%%r > rakudo 70667a: OUTPUT«Confused at line 11, near "say > ::%%r"␤current instr.: 'perl6;HLL;Grammar;panic' pc 500 > (ext/nqp-rx/src/stage0/HLL-s0.pir:328)␤» >

[perl #75620] some exceptions throw you out of the rakudo shell

2010-08-17 Thread Will Coleda via RT
On Tue Jun 08 12:33:03 2010, cognominal wrote: > I golfed the problematic statement to : > > $ perl6 > > lc ~$_ for Match.^methods > > lc ~$_ for Match.^methods > get_string() not implemented in class 'ArrayIterator' > $ say "my mac is freaking me out" # oops I was thrown out from the > rakudo