Skip to content

Commit f8b1aa7

Browse files
committed
Also apply type step in getNodeFromSubPath
1 parent 51d6f75 commit f8b1aa7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

javascript/ql/lib/semmle/javascript/frameworks/data/internal/ApiGraphModels.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,8 @@ private API::Node getNodeFromSubPath(API::Node base, AccessPath subPath, int n)
436436
or
437437
result =
438438
getNodeFromSubPath(getNodeFromSubPath(base, subPath, n - 1), getSubPathAt(subPath, n - 1))
439+
or
440+
typeStep(getNodeFromSubPath(base, subPath, n), result)
439441
}
440442

441443
/**

0 commit comments

Comments
 (0)