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 cf4a3e0 commit a195ea9Copy full SHA for a195ea9
ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll
@@ -56,7 +56,7 @@ class Node extends TNode {
56
Node getASuccessor() { localFlowStep(this, result) }
57
58
/** Gets the constant value of this expression, if any. */
59
- ConstantValue getConstantValue() { result = this.asExpr().getExpr().getConstantValue() }
+ ConstantValue getConstantValue() { result = this.asExpr().getConstantValue() }
60
61
/**
62
* Gets the callable corresponding to this block, lambda expression, or call to `proc` or `lambda`.
0 commit comments