join_return_with_assignment
tests should include assignment patterns
#59074
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
Milestone
Child issue of #58837
I think there should be test cases like:
in which the lint rule would not report that the return should be joined with the assignment.
(There are also no test cases with multiple assignment expressions in one statement, like
a = b = 7; return b;
orvar a = 8, b = 9; return b;
)
The text was updated successfully, but these errors were encountered: