We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, patches with elisions only replace the first instance of the matched contents.
For example,
f(..., - "GET", + constants.Get, ..., )
This will only replace the first instance in a matching function call.
// Input foo(a, b, "GET", c, "GET", d) // Expected foo(a, b, constants.Get, c, constants.Get, d) // Actual foo(a, b, constants.Get, c, "GET", d)
gopatch should either treat ..., foo, ... transformations as "replace all", or we should add support for contextual transformations sooner (#11).
..., foo, ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, patches with elisions only replace the first instance of the matched contents.
For example,
This will only replace the first instance in a matching function call.
gopatch should either treat
..., foo, ...
transformations as "replace all", or we should add support for contextual transformations sooner (#11).The text was updated successfully, but these errors were encountered: