-
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
"Can't call routine" error message doesn't include Capture that caused the error #2831
Comments
From sirrobert@gmail.comA snippet from IRC... 16:18 < sirrobert> On the error that says, "Cannot call 'whatever'; none of As requested, here's a snippet that demonstrates the utility of this class A { multi method f (Pair $p) { }; my $n = (a => b => 'c'); say $n.WHAT; say A.new.f(a => b => 'c'); The output of this file is: Pair() in method f at src/gen/CORE.setting:310 It is not obvious to me how to change the signature of the method to make Thanks! -Sir |
From @MouqOn Thu Jul 19 13:54:31 2012, sirrobert@gmail.com wrote:
Current output: 07:08 <Mouq> m: class A { multi method f (Pair $p) {return $p.WHAT;}}; say A.new.f("a" => b => "c"); The erroneous call now lists "f(A: :a(Pair))". Tests for this already exist in Roast in the file S06-signature/errors.t. Closing this ticket as resolved :) ~Mouq |
The RT System itself - Status changed from 'new' to 'open' |
@Mouq - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#114204 (status was 'resolved')
Searchable as RT114204$
The text was updated successfully, but these errors were encountered: