Skip to content

Commit 79fb9e8

Browse files
authored
Merge pull request github#9159 from github/nickrolfe/join_order_tweak
Ruby: tweak join order in `API::Impl::edge`
2 parents 893f4ab + 134cf4e commit 79fb9e8

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)