mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
JS: Make PropRef.getBase non-recursive
This commit is contained in:
@@ -724,7 +724,7 @@ module DataFlow {
|
||||
override ParameterField prop;
|
||||
|
||||
override Node getBase() {
|
||||
result = thisNode(prop.getDeclaringClass().getConstructor().getBody())
|
||||
thisNode(result, prop.getDeclaringClass().getConstructor().getBody())
|
||||
}
|
||||
|
||||
override Expr getPropertyNameExpr() {
|
||||
@@ -758,7 +758,7 @@ module DataFlow {
|
||||
}
|
||||
|
||||
override Node getBase() {
|
||||
result = thisNode(prop.getDeclaringClass().getConstructor().getBody())
|
||||
thisNode(result, prop.getDeclaringClass().getConstructor().getBody())
|
||||
}
|
||||
|
||||
override Expr getPropertyNameExpr() { result = prop.getNameExpr() }
|
||||
|
||||
Reference in New Issue
Block a user