SpoonLabs / gumtree-spoon-ast-diff

Computes the AST difference (aka edit script) between two Spoon Java source code abstract syntax trees
http://hal.archives-ouvertes.fr/hal-01054552
Apache License 2.0
161 stars 42 forks source link

"no AST change" when there are syntax errors #305

Open andre15silva opened 9 months ago

andre15silva commented 9 months ago

For example, these two will result in "no AST change" when running the CLI on them

package gumtree.spoon.diff.operations;

import com.github.gumtreediff.actions.model.Insert;

public class InsertOperation extends AdditionOperation<Insert> {
    public InsertOperation(Insert action) {
        super(action);
    }
}
package gumtree.spoon.diff.operations;

import com.github.gumtreediff.actions.model.Insert;

public class InsertOperation extends AdditionOperation<Insert> {
    public InsertOperation(Insert action) {
        super(action)
    }
}