Warning if a function call is missing parenthesis #58281
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-lint-request
type-enhancement
A request for a change that isn't a bug
I wrote by accident a function call without the parenthesis at the end. I even copy/pasted this code to several places before I noticed it in my final code review. I would have expected to get a warning about this.
Example:
I know that a function reference is needed in some situations (like when passing a function as a parameter), but in the example above the situation is clear (only a function call makes sense).
Dart SDK version: 2.10.4 (stable)
The text was updated successfully, but these errors were encountered: