Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

6 views
Skip to first unread message

Carl Mäsak

unread,
Nov 5, 2012, 12:35:24 PM11/5/12
to bugs-bi...@rt.perl.org
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #115610]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=115610 >


<[Coke]> r: my $a = macro foo() {}; say $a;
<p6eval> rakudo 64208d: OUTPUT«===SORRY!===␤[...] Error while
compiling op p6store: Unknown QAST node type NQPMu␤»
* masak submits [Coke]'s rakudobug
<[Coke]> I have no idea what I expect $a to contain there, btw. :)
<masak> [Coke]: a Macro (which is a Routine)
<diakopter> r: my $*a = macro { }
<p6eval> rakudo 64208d: OUTPUT«===SORRY!===␤[...] Error while
compiling op p6store: Unknown QAST node type NQPMu␤»
* [Coke] thinks that's the same as mine.
<masak> yes; I'll report them together.
0 new messages