Skip to content

Commit 3f2882e

Browse files
committed
JS: Remove an obsolete comment
The RHS of an assignment actually has a post-update node now
1 parent b2d62a0 commit 3f2882e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/dataflow/internal/DataFlowPrivate.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ private predicate isArgumentNodeImpl(Node n, DataFlowCall call, ArgumentPosition
523523
// receiver of accessor call
524524
pos.isThis() and n = call.asAccessorCall().getBase()
525525
or
526-
// argument to setter (TODO: this has no post-update node)
526+
// argument to setter
527527
pos.asPositional() = 0 and n = call.asAccessorCall().(DataFlow::PropWrite).getRhs()
528528
or
529529
FlowSummaryImpl::Private::summaryArgumentNode(call.(SummaryCall).getReceiver(),

0 commit comments

Comments
 (0)