noChangeDiagnostic function
The patch parsed and applied cleanly but produced no change — the
+literal body rows matched the file content at the targeted lines
byte-for-byte (omp's noChangeDiagnostic).
Implementation
String noChangeDiagnostic(String path) {
return 'Edits to $path parsed and applied cleanly, but produced no '
'change: your body row(s) are byte-identical to the file at the '
'targeted lines. The bug is somewhere else — re-read the file before '
'issuing another edit. Do NOT widen the payload or add lines; verify '
'the anchor first.';
}