False positive for unnecessary_lambdas #58009
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
Describe the issue
Possibly related to #57957, the following triggers the linter:
However,
expect
takes adynamic
, not necessarily aFunction
, so changing to a tear-off changes the behavior to evaluate before invokingexpect
.Expected behavior
No lint.
The text was updated successfully, but these errors were encountered: