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 b005973 commit 9b493c1Copy full SHA for 9b493c1
java/ql/lib/semmle/code/java/dataflow/TypeFlow.qll
@@ -138,7 +138,7 @@ private module Input implements TypeFlowInput<Location> {
138
exists(LocalVariableDeclExpr decl |
139
n.asSsa().(BaseSsaUpdate).getDefiningExpr() = decl and
140
not decl.hasImplicitInit() and
141
- not exists(decl.getInit())
+ not exists(decl.getInitOrPatternSource())
142
)
143
}
144
0 commit comments