Skip to content

Analyzer doesn't like void Function(void) #34008

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
natebosch opened this issue Jul 27, 2018 · 2 comments
Closed

Analyzer doesn't like void Function(void) #34008

natebosch opened this issue Jul 27, 2018 · 2 comments
Labels
legacy-area-analyzer Use area-devexp instead. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Milestone

Comments

@natebosch
Copy link
Member

"error • Variables must be declared using the keywords 'const', 'final', 'var' or a type name"

CFE seems fine with it. void Function(void x) is a workaround.

@leafpetersen
Copy link
Member

There's a comment to this effect here: #30177 (comment) .

@bwilkerson bwilkerson added the type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) label Aug 28, 2018
@bwilkerson bwilkerson added this to the Dart2.1 milestone Aug 28, 2018
@devoncarew
Copy link
Member

I'm going to close this as a duplicate of #30177.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy-area-analyzer Use area-devexp instead. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

5 participants