gopatch icon indicating copy to clipboard operation
gopatch copied to clipboard

Patch parsing error messages

Open abhinav opened this issue 3 years ago • 0 comments

The machinery for parsing patches is currently convoluted, with multiple temporary files created inside token.FileSets so that when failures do occur, we have no obvious correlation to positions in the patch.

We should simplify that by not introducing these temporary file sets, or mapping positions back to the original patch file. Go syntax error messages should specify exact positions in the patch files.

abhinav avatar Apr 21 '21 18:04 abhinav