Skip to content

Commit f5c0b0e

Browse files
committed
Kotlin: Performance tweak
1 parent e0053cd commit f5c0b0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/dataflow/TypeFlow.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ private predicate irrelevantBound(TypeFlowNode n, RefType t) {
410410
typeFlow(n, bound) and
411411
t = bound.getAStrictAncestor() and
412412
typeBound(t) and
413-
typeFlow(n, t) and
413+
typeFlow(n, pragma[only_bind_into](t)) and
414414
not t.getAnAncestor() = bound
415415
or
416416
n.getType() = pragma[only_bind_into](bound) and

0 commit comments

Comments
 (0)