Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f70c59 commit a59a404Copy full SHA for a59a404
1 file changed
ruby/ql/lib/codeql/ruby/ast/internal/Module.qll
@@ -407,7 +407,6 @@ private module ResolveImpl {
407
*/
408
string getAnAssumedGlobalConst() {
409
exists(ConstantAccess access |
410
- not exists(access.getScopeExpr()) and
411
result = access.getName() and
412
isToplevel(access)
413
)
0 commit comments