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

error message when misspelling “method” (meathod bar($test)) #5799

Open
p6rt opened this issue Nov 14, 2016 · 1 comment
Open

error message when misspelling “method” (meathod bar($test)) #5799

p6rt opened this issue Nov 14, 2016 · 1 comment
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Nov 14, 2016

Migrated from rt.perl.org#130092 (status was 'new')

Searchable as RT130092$

@p6rt
Copy link
Author

p6rt commented Nov 14, 2016

From @AlexDaniel

*Code​:*
class Foo {
  meathod bar($name) {}
}

*Result​:*
===SORRY!=== Error while compiling -e
Variable '$name' is not declared
at -e​:2
------> meathod bar(�$name) {}

The error message is not wrong, but we have at least one case where
somebody was struggling to find the actual issue. Perhaps it can be smart
enough to figure it out.

See also IRC log​: https://irclog.perlgeek.de/perl6/2016-11-14#i_13561822

@p6rt p6rt added the LTA Less Than Awesome; typically an error message that could be better label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better
Projects
None yet
Development

No branches or pull requests

1 participant