mirror of
https://github.com/github/codeql.git
synced 2026-02-20 17:03:41 +01:00
Ensure module/class/methods and their headers belong to the right CfgScope
This commit is contained in:
@@ -5,7 +5,7 @@ private import codeql_ruby.ast.internal.Expr
|
||||
private import codeql_ruby.ast.internal.Method
|
||||
private import codeql_ruby.ast.internal.Pattern
|
||||
|
||||
private Generated::AstNode parentOf(Generated::AstNode n) {
|
||||
Generated::AstNode parentOf(Generated::AstNode n) {
|
||||
exists(Generated::AstNode parent | parent = n.getParent() |
|
||||
if
|
||||
n =
|
||||
|
||||
Reference in New Issue
Block a user