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

[perl #68350] [BUG] Anonymous scalar parameters work with STD.pm, but not with Rakudo

0 views
Skip to first unread message

Carl Mäsak

unread,
Aug 9, 2009, 11:48:34 AM8/9/09
to bugs-bi...@netlabs.develooper.com
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #68350]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=68350 >


<masak> rakudo: for 1,2,3,4,5 -> $a, $? { say $a }
<p6eval> rakudo 5c4b1b: OUTPUT«Invalid twigil used in signature
parameter. at line 2 [...]
<masak> std: for 1,2,3,4,5 -> $a, $? { say $a }
<p6eval> std 27922: OUTPUT«ok 00:03 41m␤»
* masak submits rakudobug
<masak> rakudo: sub foo($a, $?) { say $a }; foo("OH HAI")
<p6eval> rakudo 5c4b1b: OUTPUT«Invalid twigil used in signature
parameter. at line 2 [...]
<masak> std: sub foo($a, $?) { say $a }; foo("OH HAI")
<p6eval> std 27922: OUTPUT«ok 00:04 39m␤»

Also note that the "Invalid twigil" error message is not reaching up
to its full awesome potential, due to the full stop before ' at line
2'.

perl6-bug...@perl.org

unread,
Oct 29, 2009, 8:05:57 AM10/29/09
to perl6-c...@perl.org
Moritz (>):
> This now produces:
>
> 22:38 <@moritz_> rakudo: for 1,2,3,4,5 -> $a, $? { say $a }
> 22:38 <+p6eval> rakudo 6a43a3: OUTPUT«1␤3␤StopIteration␤in Main (file
> <unknown>, line <unknown>)␤»
>
> So this bug is fixed, but shows another problem - don't know if we have
> a ticket for that one.

Believe me, we do. [perl #66890]

Resolving this one.

0 new messages