Skip to content

Commit dd44187

Browse files
committed
Sync files again
1 parent b107dd6 commit dd44187

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ private API::Node getNodeFromPath(string package, string type, AccessPath path,
395395
result =
396396
getNodeFromSubPath(getNodeFromPath(package, type, path, n - 1), getSubPathAt(path, n - 1))
397397
or
398-
// Apply a receiver step
398+
// Apply a type step
399399
typeStep(getNodeFromPath(package, type, path, n), result)
400400
}
401401

@@ -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
/**

ruby/ql/lib/codeql/ruby/frameworks/data/internal/ApiGraphModels.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ private API::Node getNodeFromPath(string package, string type, AccessPath path,
395395
result =
396396
getNodeFromSubPath(getNodeFromPath(package, type, path, n - 1), getSubPathAt(path, n - 1))
397397
or
398-
// Apply a receiver step
398+
// Apply a type step
399399
typeStep(getNodeFromPath(package, type, path, n), result)
400400
}
401401

@@ -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)