Kotlin: Performance tweak

This commit is contained in:
Ian Lynagh
2022-04-21 17:57:24 +01:00
parent e0053cd471
commit f5c0b0ebfe

View File

@@ -410,7 +410,7 @@ private predicate irrelevantBound(TypeFlowNode n, RefType t) {
typeFlow(n, bound) and
t = bound.getAStrictAncestor() and
typeBound(t) and
typeFlow(n, t) and
typeFlow(n, pragma[only_bind_into](t)) and
not t.getAnAncestor() = bound
or
n.getType() = pragma[only_bind_into](bound) and