Skip to content

Analyzer should lint about getter returning a function reference in a void context #25638

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

Closed
Hixie opened this issue Feb 1, 2016 · 4 comments
Assignees
Labels
devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug

Comments

@Hixie
Copy link
Contributor

Hixie commented Feb 1, 2016

e.g. if I do:

   void main() {
     print;
   }

...that should warrant at least a lint.

@bwilkerson bwilkerson added type-enhancement legacy-area-analyzer Use area-devexp instead. devexp-linter Issues with the analyzer's support for the linter package labels Feb 1, 2016
@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug and removed Priority-Medium labels Mar 1, 2016
@srawlins
Copy link
Member

Dup of #18849?

@bwilkerson
Copy link
Member

I think #18849 is more general.

@srawlins
Copy link
Member

Alright how about dup of #15710?

@srawlins
Copy link
Member

dup of #15710

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants