solven-eu / cleanthat

Github App opening automatically cleaning PR
56 stars 16 forks source link

methodRef is accepted only if the scope is a name or field #849

Closed blacelle closed 1 week ago

blacelle commented 1 week ago

Handles https://github.com/solven-eu/cleanthat/issues/847


I'm pretty sure the fix is partial: I feel there is more legit cases than NameExpr or FieldRefExpr.

mches commented 1 week ago

Handles #847

I'm pretty sure the fix is partial: I feel there is more legit cases than NameExpr or FieldRefExpr.

I'll be sure to let you know if I find any missed opportunities in practice