Skip to content

Commit f7e58a9

Browse files
committed
Ruby: Apply nomagic on parameterMatch instead
1 parent 0bf0e0e commit f7e58a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowDispatch.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ class ArgumentPosition extends TArgumentPosition {
546546
}
547547

548548
/** Holds if arguments at position `apos` match parameters at position `ppos`. */
549-
pragma[inline]
549+
pragma[nomagic]
550550
predicate parameterMatch(ParameterPosition ppos, ArgumentPosition apos) {
551551
ppos.isSelf() and apos.isSelf()
552552
or

0 commit comments

Comments
 (0)