add explicit this

This commit is contained in:
erik-krogh
2023-01-17 15:17:48 +01:00
parent a562568522
commit 8715790fe7

View File

@@ -169,12 +169,12 @@ class AddExprRoot extends AddExpr {
private AstNode getALeafOrAdd() {
result = this.getAChild()
or
result = getALeafOrAdd().(AddExpr).getAChild()
result = this.getALeafOrAdd().(AddExpr).getAChild()
}
/** Gets a leaf node of this add expression. */
AstNode getALeaf() {
result = getALeafOrAdd() and
result = this.getALeafOrAdd() and
not result instanceof AddExpr
}
}