We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e724f92 commit 71763afCopy full SHA for 71763af
javascript/ql/src/semmle/javascript/dataflow/Nodes.qll
@@ -706,7 +706,8 @@ class ClassNode extends DataFlow::SourceNode {
706
result = getAClassReference(t.continue()).getAnInstantiation()
707
or
708
t.start() and
709
- result.(AnalyzedNode).getAValue() = getAbstractInstanceValue()
+ result.(AnalyzedNode).getAValue() = getAbstractInstanceValue() and
710
+ not result = any(DataFlow::ClassNode cls).getAReceiverNode()
711
712
713
result = getAReceiverNode()
0 commit comments