[perl6/specs] 30974c: [S29] updated references to S32 synopsis

2012-11-05 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 30974c6e3ccd2b35078f08f61c3ed870614c4093 https://github.com/perl6/specs/commit/30974c6e3ccd2b35078f08f61c3ed870614c4093 Author: Carl Masak Date: 2012-11-05 (Mon, 05 Nov 2012) Changed paths: M S29-fun

[perl #115614] [BUG] Can't parse 'state $i++' in Rakudo (but parses in STD)

2012-11-05 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #115614] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=115614 > nr: constant @c = 1, { state $i++; 2 * (2 * $i - 1) / ($i + 1) * $_ } ... *; say

[perl #115608] [BUG] Cannot call a routine using 'foo' syntax when a module 'foo' is declared in Rakudo

2012-11-05 Thread Carl Mäsak via RT
module foo; sub foo() { say "OH HAI" }; foo; foo() In this one, foo() parses as a coercion. jnthn: oh! * masak adds that to the appropriate rakudobug Anyway, it's right it doesn't call the sub. Just an LTA error I guess...though I ain't immediately sure what to do with it...

[perl #115610] [BUG] Can't store a macro declaration in a variable in Rakudo

2012-11-05 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #115610] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=115610 > <[Coke]> r: my $a = macro foo() {}; say $a; rakudo 64208d: OUTPUT«===SORRY!===␤[

[perl #115608] [BUG] Cannot call a routine using 'foo' syntax when a module 'foo' is declared in Rakudo

2012-11-05 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #115608] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=115608 > r: module foo; macro foo() { }; foo; foo(); # foo works; foo() doesn't rakudo 6

[perl #115606] [BUG] LTA error message for 'temp macro' declaration in Rakudo

2012-11-05 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #115606] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=115606 > r: temp macro foo() { }; foo() rakudo 64208d: OUTPUT«===SORRY!===␤Method 'retur

[perl #115604] [BUG] our macros don't work in Rakudo

2012-11-05 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #115604] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=115604 > r: our macro foo() { }; foo() rakudo 64208d: OUTPUT«===SORRY!===␤Error while co

[perl #115598] [BUG] &take returns 0, not the value taken in Rakudo

2012-11-05 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #115598] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=115598 > basically, 'take' both yields its value and returns, right? so my $x = take 3;

[perl #115594] [BUG] Can't call locally assigned code blocks inside quasis in Rakudo

2012-11-05 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #115594] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=115594 > r: macro foo { quasi { my &bar = { say "OH HAI" }; bar } }; foo rakudo 64208d:

[perl #115592] [BUG] Can't use 'temp' in quasi block in Rakudo

2012-11-05 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #115592] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=115592 > r: macro foo { quasi { temp $*OUT } }; foo rakudo 64208d: OUTPUT«Null PMC acces