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

[perl #118069] [BUG] 'proto' should imply 'multi' on all subsequent routines of that name in Rakudo

4 views
Skip to first unread message

Carl Mäsak

unread,
May 20, 2013, 1:55:07 PM5/20/13
to bugs-bi...@rt.perl.org
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #118069]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118069 >


<dagurval> r: proto sub a($) {*}; sub a(Int $x) { "yay" }
<camelia> rakudo 8d2ec9: OUTPUT«===SORRY!===␤Redeclaration of routine a [...]
<dagurval> shouldn't that work? from syn: ". A proto also adds an
implicit multi to all routines of the same short name within its
scope, unless they have an explicit modifier"
* masak submits rakudobug for that
<moritz> I think that's already (long) known
<masak> yes, but I don't find it in RT.
<masak> submitting Justin Case, and then we can merge if someone finds it.
0 new messages