solven-eu / cleanthat

Github App opening automatically cleaning PR
64 stars 18 forks source link

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

Closed blacelle closed 1 month ago

blacelle commented 1 month 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 month 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