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

[perl #67148] [BUG] take without gather should have a better error message in Rakudo

0 views
Skip to first unread message

Carl Mäsak

unread,
Jul 1, 2009, 4:31:06 PM7/1/09
to bugs-bi...@netlabs.develooper.com
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #67148]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=67148 >


<masak> rakudo: take 5
<p6eval> rakudo 2dded8: OUTPUT«Died␤in Main (/tmp/uuckDsGlCB:2)␤»
<ruoso> masak, that's expected
<masak> do we suddenly have no error message for take without gather?
<ruoso> take should throw an exception
<jnthn> Did we ever have one?
<ruoso> a control exception
<masak> I'd like one.
<Tene> 'take' does throw an exception, one that 'gather' catches.
<Tene> masak: you could add it to perl6.pir's global exception handler
<Tene> check the type of the exception
<masak> ok; let me just create the rakudobug first, in case I fail. :)

perl6-bug...@perl.org

unread,
Jul 2, 2009, 11:44:30 AM7/2/09
to perl6-c...@perl.org
masak (>):

> <masak> ok; let me just create the rakudobug first, in case I fail. :)

With some help from Tene++, I managed to sneak in a better error message
in Rakudo commit 468c021f. Resolving ticket.


0 new messages