mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Ruby: only drop to CFG layer for getConstantValue()
This commit is contained in:
@@ -56,7 +56,7 @@ class Node extends TNode {
|
||||
Node getASuccessor() { localFlowStep(this, result) }
|
||||
|
||||
/** Gets the constant value of this expression, if any. */
|
||||
ConstantValue getConstantValue() { result = this.asExpr().getExpr().getConstantValue() }
|
||||
ConstantValue getConstantValue() { result = this.asExpr().getConstantValue() }
|
||||
|
||||
/**
|
||||
* Gets the callable corresponding to this block, lambda expression, or call to `proc` or `lambda`.
|
||||
|
||||
Reference in New Issue
Block a user