JS: Preserve reflective calls in getAMethodCall

This commit is contained in:
Asger Feldthaus
2020-04-23 13:57:14 +01:00
parent 1703ffe6a1
commit cafdcfa4de

View File

@@ -245,7 +245,7 @@ private module Cached {
*/
cached
predicate isSyntacticMethodCall(DataFlow::CallNode call) {
call.asExpr().(CallExpr).getCallee().getUnderlyingReference() instanceof PropAccess
call.getCalleeNode().asExpr().getUnderlyingReference() instanceof PropAccess
}
}