You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Comby fails on certain files if the -review option is used
Reproducing
If this is not about a matcher, please describe the bug:
save this as comby.cpp:
void test() {
someFunc(testA, testC, testB);
}
and run this command: DEBUG_COMBY=1 comby -review 'someFunc(:[1], :[2], :[3])' ':[1] = someOtherFunc(:[3], :[2])' comby.cpp and then accept the change. Result:
Error attempting patch, command exited with 1.
Run the command again with DEBUG_COMBY=1 set in the environment for more info.
Press any key to continue, or exit now (Ctrl-C).
Expected behavior
It should patch after accepting the change
Additional context
comby 1.8.1, running on macOS.
Using the -in-place option works as expected
The text was updated successfully, but these errors were encountered:
UJAM-JH
changed the title
Error in patching cpp when -review is used
Error patching cpp when -review is used
Jul 19, 2022
Describe the bug
Comby fails on certain files if the -review option is used
Reproducing
save this as
comby.cpp
:and run this command:
DEBUG_COMBY=1 comby -review 'someFunc(:[1], :[2], :[3])' ':[1] = someOtherFunc(:[3], :[2])' comby.cpp
and then accept the change. Result:Expected behavior
It should patch after accepting the change
Additional context
comby 1.8.1, running on macOS.
Using the
-in-place
option works as expectedThe text was updated successfully, but these errors were encountered: