Skip to content

Commit e848aa7

Browse files
committed
JS: Clarifying comment on commonStep
1 parent 2aa5fa1 commit e848aa7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

javascript/ql/lib/semmle/javascript/internal/NameResolution.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ module NameResolution {
6565

6666
/**
6767
* Holds if values/namespaces/types in `node1` can flow to values/namespaces/types in `node2`.
68+
*
69+
* May also include some type-specific steps in cases where this is harmless when tracking values.
6870
*/
6971
private predicate commonStep(Node node1, Node node2) {
7072
// Import paths are part of the graph and has an incoming edge from the imported module, if found.

0 commit comments

Comments
 (0)