Skip to content
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

awesomize the "No applicable candidates found" error message #1414

Closed
p6rt opened this issue Nov 26, 2009 · 3 comments
Closed

awesomize the "No applicable candidates found" error message #1414

p6rt opened this issue Nov 26, 2009 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Nov 26, 2009

Migrated from rt.perl.org#70850 (status was 'resolved')

Searchable as RT70850$

@p6rt
Copy link
Author

p6rt commented Nov 26, 2009

From @moritz

The error message "No applicable candidates found to dispatch to for
'$method_name'" could (and IMHO, should) include the following
information​: types of the arguments, and a list of candidates and their
signatures.

Bonus points if each candidate also shows why it can't be called (wrong
arity, no such named argument, nominal type check failed, constraint
failed).

We've discussed that on IRC​:
http://irclog.perlgeek.de/perl6/2009-11-26#i_1775231

Cheers,
Moritz

@p6rt
Copy link
Author

p6rt commented Mar 30, 2010

From @moritz

and it does now, jnthn++.

Closing without tests, as we have no standard error message format right
now.

@p6rt
Copy link
Author

p6rt commented Mar 30, 2010

@moritz - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Mar 30, 2010
@p6rt p6rt added the Todo label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant