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
# 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
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...
# 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!===[
# 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
# 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
# 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
# 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;
# 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:
# 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
10 matches
Mail list logo