Skip to content

Commit e40ee82

Browse files
committed
JS: Update a qldoc comment
1 parent 24e7aad commit e40ee82

File tree

1 file changed

+2
-1
lines changed
  • javascript/ql/lib/semmle/javascript/dataflow

1 file changed

+2
-1
lines changed

javascript/ql/lib/semmle/javascript/dataflow/Nodes.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,8 @@ class ClassNode extends DataFlow::SourceNode instanceof ClassNode::Range {
10951095
/**
10961096
* Gets a property read that accesses the property `name` on an instance of this class.
10971097
*
1098-
* Concretely, this holds when the base is an instance of this class or a subclass thereof.
1098+
* This includes accesses on subclasses (if the member is not overridden) and accesses in a base class
1099+
* (only if accessed on `this`).
10991100
*/
11001101
pragma[nomagic]
11011102
DataFlow::PropRead getAnInstanceMemberAccess(string name, DataFlow::TypeTracker t) {

0 commit comments

Comments
 (0)