-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multisub dispatch broken in roles #3018
Comments
From doy@tozt.net< doy> r: proto bar {*}; multi bar ($baz) { "BAZ" }; role Blorg { method do_stuff { bar "baz" } }; say Blorg.new.do_stuff |
From @jnthnOn Wed Jan 02 07:11:02 2013, doy@tozt.net wrote:
This is actually the correct output. A proto's signature must be at proto bar(|) {*} Or to restrict to a single arg: proto bar($) {*}
So the real bug is that this one works out. Turns out that was because I've now fixed this analysis bug in the optimizer, and it correctly Note that the reason the role one did detect the error is that the Tagging testneeded. Thanks, Jonathan |
The RT System itself - Status changed from 'new' to 'open' |
From @cokeOn Wed Jan 02 09:24:55 2013, jnthn@jnthn.net wrote:
Test added to integration/weird-errors.t for lack of a better file. -- |
@coke - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#116268 (status was 'resolved')
Searchable as RT116268$
The text was updated successfully, but these errors were encountered: