File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ class ExternalAPI extends Callable {
4848 private DataFlow:: Node getAnInput ( ) {
4949 exists ( Call call | call .getCallee ( ) .getSourceDeclaration ( ) = this |
5050 result .asExpr ( ) .( Argument ) .getCall ( ) = call or
51- result .( ArgumentNode ) .getCall ( ) = call
51+ result .( ArgumentNode ) .getCall ( ) . asCall ( ) = call
5252 )
5353 }
5454
5555 /** Gets a node that is an output from a call to this API. */
5656 private DataFlow:: Node getAnOutput ( ) {
5757 exists ( Call call | call .getCallee ( ) .getSourceDeclaration ( ) = this |
5858 result .asExpr ( ) = call or
59- result .( DataFlow:: PostUpdateNode ) .getPreUpdateNode ( ) .( ArgumentNode ) .getCall ( ) = call
59+ result .( DataFlow:: PostUpdateNode ) .getPreUpdateNode ( ) .( ArgumentNode ) .getCall ( ) . asCall ( ) = call
6060 )
6161 }
6262
You can’t perform that action at this time.
0 commit comments