mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Update ruby/ql/lib/codeql/ruby/ast/internal/Scope.qll
Co-authored-by: Nick Rolfe <nickrolfe@github.com>
This commit is contained in:
@@ -184,7 +184,7 @@ abstract class ScopeImpl extends AstNode, TScopeType {
|
||||
}
|
||||
|
||||
private class ScopeRealImpl extends ScopeImpl, TScopeReal {
|
||||
ScopeRealImpl() { exists(Scope::Range range | range = toGenerated(this)) }
|
||||
ScopeRealImpl() { toGenerated(this) instanceof Scope::Range }
|
||||
|
||||
override Variable getAVariableImpl() { result.getDeclaringScope() = this }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user