Skip to content

Commit a9a99c5

Browse files
committed
Ruby: nomagic on unary hasAdjacentTypeCheckedReads
1 parent 4c19d2d commit a9a99c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ private predicate localFlowStep(DataFlow::Node nodeFrom, DataFlow::Node nodeTo,
579579
summary.toString() = "level"
580580
}
581581

582+
pragma[nomagic]
582583
private predicate hasAdjacentTypeCheckedReads(DataFlow::Node node) {
583584
hasAdjacentTypeCheckedReads(_, _, node.asExpr(), _)
584585
}

0 commit comments

Comments
 (0)