Skip to content

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

Closed
@Hixie

Description

@Hixie

e.g. if I do:

   void main() {
     print;
   }

...that should warrant at least a lint.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work ondevexp-linterIssues with the analyzer's support for the linter packagelegacy-area-analyzerUse area-devexp instead.type-enhancementA request for a change that isn't a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions