Closed
Description
Child issue of #58837
I think there should be test cases like:
var (a, b) = record; // variable declaration
return a;
// also
(a, b) = record; // just an assignment
return a;
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;
)