JS: Remove an obsolete comment

The RHS of an assignment actually has a post-update node now
This commit is contained in:
Asger F
2025-01-09 09:59:23 +01:00
parent b2d62a080b
commit 3f2882e1c6

View File

@@ -523,7 +523,7 @@ private predicate isArgumentNodeImpl(Node n, DataFlowCall call, ArgumentPosition
// receiver of accessor call
pos.isThis() and n = call.asAccessorCall().getBase()
or
// argument to setter (TODO: this has no post-update node)
// argument to setter
pos.asPositional() = 0 and n = call.asAccessorCall().(DataFlow::PropWrite).getRhs()
or
FlowSummaryImpl::Private::summaryArgumentNode(call.(SummaryCall).getReceiver(),