Skip to content

Commit 9c4d378

Browse files
committed
JS: Remove TODO comment
It is not subsumed by the other case, both cases are needed
1 parent 3f2882e commit 9c4d378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ js::DataFlow::Node getNodeFromClosureNode(VariableCaptureOutput::ClosureNode nod
253253
TValueNode(node.(VariableCaptureOutput::ParameterNode)
254254
.getParameter()
255255
.asLocalVariable()
256-
.getADeclaration()) // TODO: is this subsumed by the ExprNode case?
256+
.getADeclaration())
257257
or
258258
result = TThisNode(node.(VariableCaptureOutput::ParameterNode).getParameter().asThisContainer())
259259
or

0 commit comments

Comments
 (0)