Skip to content

Commit

Permalink
Merge pull request #15965 from hmac/hmac-symbol-constant
Browse files Browse the repository at this point in the history
Ruby: remove isString from TSymbol
  • Loading branch information
hmac authored Mar 19, 2024
2 parents 06dbb4e + 22ddf21 commit df18453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruby/ql/lib/codeql/ruby/ast/internal/Constant.qll
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ private module Cached {
or
s = any(StringComponentImpl c).getValue()
} or
TSymbol(string s) { isString(_, s) or isSymbolExpr(_, s) } or
TSymbol(string s) { isSymbolExpr(_, s) } or
TRegExp(string s, string flags) {
isRegExp(_, s, flags)
or
Expand Down

0 comments on commit df18453

Please sign in to comment.