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 869d827 commit b956616Copy full SHA for b956616
ruby/ql/lib/codeql/ruby/experimental/Rbi.qll
@@ -26,10 +26,8 @@ module Rbi {
26
abstract class RbiType extends DataFlow::Node { }
27
28
class ConstantReadAccessAsRbiType extends RbiType {
29
- private ExprNodes::ConstantReadAccessCfgNode acc;
30
-
31
ConstantReadAccessAsRbiType() {
32
- acc = this.asExpr()
+ this.asExpr() instanceof ExprNodes::ConstantReadAccessCfgNode
33
// TODO: should this class be more restrictive?
34
}
35
0 commit comments