We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1703ffe commit cafdcfaCopy full SHA for cafdcfa
javascript/ql/src/semmle/javascript/dataflow/Sources.qll
@@ -245,7 +245,7 @@ private module Cached {
245
*/
246
cached
247
predicate isSyntacticMethodCall(DataFlow::CallNode call) {
248
- call.asExpr().(CallExpr).getCallee().getUnderlyingReference() instanceof PropAccess
+ call.getCalleeNode().asExpr().getUnderlyingReference() instanceof PropAccess
249
}
250
251
0 commit comments