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

Suggestion for "use"/"no" in expression errors #17040

Open
p5pRT opened this issue Jun 7, 2019 · 1 comment
Open

Suggestion for "use"/"no" in expression errors #17040

p5pRT opened this issue Jun 7, 2019 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Jun 7, 2019

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

Searchable as RT134183$

@p5pRT
Copy link
Author

p5pRT commented Jun 7, 2019

From @Grinnz

The errors '"use" not allowed in expression' and '"no" not allowed in
expression' (
https://perldoc.pl/5.30.0/perldiag#%22use%22-not-allowed-in-expression) may
be unintentionally tripped when a previous statement is unterminated.
Perhaps it could suggest something like '(perhaps missing semicolon?)'
similar to other suggestions added to warnings/errors.

-Dan

(Perl)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants