Open
Description
I'm struggling to make an otherwise useful avoid_annotating_with_dynamic
work with my typedef:
typedef CallbackWithParameter = Future<void> Function(dynamic);
// or
typedef CallbackWithParameter = Future<void> Function(dynamic parameter);
both are syntactically valid, but none satisfies this lint check. Templatizing CallbackWithParameter
fixes this, but it's not exactly what I'm looking for. Is this check incompatible with the new typedefs?
Metadata
Metadata
Assignees
Labels
A lower priority bug or feature requestFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.Issues with the analyzer's support for the linter packageIssues related to lint rules that report a problem when it isn't a problem.Incorrect behavior (everything from a crash to more subtle misbehavior)