Closed sorairolake closed 1 month ago
This likely isn't exhaustive, as I'm pretty sure I've run across more than just these in passing. Can you be sure that it is?
@jhpratt This is applied to lines which match rg -F "),)"
. So I cannot be sure that this is exhaustive, and I don't think this likely is exhaustive.
First, I discovered a redundant comma in the following doctest:
Next, I ran rg -F "),)"
and discovered a similar redundant comma in the following line:
If cleanup like this is being done, I'd like to be at least reasonably confident that it is exhaustive, lest we have a number of PRs substantially similar to this.
@sorairolake What's the status of this?
@jhpratt I'm not confident that I can do cleanups like this thoroughly.
Closing for that reason. I'll probably end up digging through code myself with some more complicated regex in the near future.
Looking at other codes, it seems better to eliminate these commas. So I'm going to remove these commas.