Skip to content

Commit 134cf4e

Browse files
committed
Ruby: tweak join order in API::Impl::edge
1 parent 67572bb commit 134cf4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/ApiGraphs.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ module API {
576576
use(pred, a) and
577577
use(succ, b) and
578578
resolveConstant(b.asExpr().getExpr()) = resolveConstantWriteAccess(c) and
579-
c.getSuperclassExpr() = a.asExpr().getExpr() and
579+
pragma[only_bind_into](c).getSuperclassExpr() = a.asExpr().getExpr() and
580580
lbl = Label::subclass()
581581
)
582582
or

0 commit comments

Comments
 (0)