jackfirth / resyntax

A Racket refactoring engine
Apache License 2.0
51 stars 10 forks source link

Fix a bug in diff analysis #214

Closed jackfirth closed 11 months ago

jackfirth commented 11 months ago

The current logic is buggy and fails for changes like this. The correct behavior is for Resyntax to make sure that all of the changed lines in a suggestion are included in the set of lines changed by a pull request, rather than merely checking that these two sets intersect.