Skip to content

Commit 49aab51

Browse files
committed
Ruby: Make helper predicate private
1 parent ea95e2e commit 49aab51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/ast/internal/Constant.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ predicate isArrayConstant(ExprCfgNode e, ArrayLiteralCfgNode arr) {
533533
/**
534534
* Holds if the expression `e` refers to an array constructed from the array literal `arr`.
535535
*/
536-
predicate isArrayExpr(Expr e, ArrayLiteralCfgNode arr) {
536+
private predicate isArrayExpr(Expr e, ArrayLiteralCfgNode arr) {
537537
// e = [...]
538538
e = arr.getExpr()
539539
or

0 commit comments

Comments
 (0)