Java: Fix compilation error in telemetry lib.

This commit is contained in:
Anders Schack-Mulligen
2021-09-13 15:50:21 +02:00
parent 89a6cdc711
commit 818e75bb8f

View File

@@ -48,7 +48,7 @@ class ExternalAPI extends Callable {
private DataFlow::Node getAnInput() {
exists(Call call | call.getCallee().getSourceDeclaration() = this |
result.asExpr().(Argument).getCall() = call or
result.(ArgumentNode).getCall() = call
result.(ArgumentNode).getCall().asCall() = call
)
}
@@ -56,7 +56,7 @@ class ExternalAPI extends Callable {
private DataFlow::Node getAnOutput() {
exists(Call call | call.getCallee().getSourceDeclaration() = this |
result.asExpr() = call or
result.(DataFlow::PostUpdateNode).getPreUpdateNode().(ArgumentNode).getCall() = call
result.(DataFlow::PostUpdateNode).getPreUpdateNode().(ArgumentNode).getCall().asCall() = call
)
}