mirror of
https://github.com/github/codeql.git
synced 2026-02-23 10:23:41 +01:00
Update java/ql/lib/semmle/code/java/dataflow/TypeFlow.qll
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1acbb84444
commit
3f63d3a865
@@ -157,7 +157,7 @@ private module Input implements TypeFlowInput<J::Location> {
|
||||
*/
|
||||
pragma[nomagic]
|
||||
private predicate upcastCand(TypeFlowNode n, RefType t1, RefType t1e, RefType t2, RefType t2e) {
|
||||
exists(TypeFlowNode next | step(n, next) or Make<J::Location, Input>::joinStep(n, next) |
|
||||
exists(TypeFlowNode next | step(n, next) or joinStep(n, next) |
|
||||
n.getType() = t1 and
|
||||
next.getType() = t2 and
|
||||
t1.getErasure() = t1e and
|
||||
|
||||
Reference in New Issue
Block a user