We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b0486 commit ac4601cCopy full SHA for ac4601c
javascript/ql/lib/semmle/javascript/dataflow/internal/CallGraphs.qll
@@ -250,7 +250,7 @@ module CallGraph {
250
result = node.(DataFlow::ObjectLiteralNode).getPropertySetter(_)
251
) and
252
not node.getTopLevel().isExterns() and
253
- // Do not track instance methods on classes
+ // Ignore writes to `this` inside a constructor, since this is already handled by instance method tracking
254
not exists(DataFlow::ClassNode cls |
255
node = cls.getConstructor().getReceiver()
256
or
0 commit comments