We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db58e33 commit ee7970aCopy full SHA for ee7970a
ruby/ql/lib/codeql/ruby/ast/internal/Module.qll
@@ -6,7 +6,8 @@ private string builtin() {
6
result =
7
[
8
"Object", "Kernel", "BasicObject", "Class", "Module", "NilClass", "FalseClass", "TrueClass",
9
- "Numeric", "Integer", "Float", "Rational", "Complex", "Array", "Hash", "Symbol", "Proc"
+ "Numeric", "Integer", "Float", "Rational", "Complex", "Array", "Hash", "String", "Symbol",
10
+ "Proc",
11
]
12
}
13
@@ -41,7 +42,10 @@ private module Cached {
41
42
Module getSuperClass(Module cls) {
43
cls = TResolved("Object") and result = TResolved("BasicObject")
44
or
- cls = TResolved(["Module", "Numeric", "Array", "Hash", "FalseClass", "TrueClass", "NilClass"]) and
45
+ cls =
46
+ TResolved([
47
+ "Module", "Numeric", "Array", "Hash", "FalseClass", "TrueClass", "NilClass", "String"
48
+ ]) and
49
result = TResolved("Object")
50
51
cls = TResolved(["Integer", "Float", "Rational", "Complex"]) and
0 commit comments