Ensure module/class/methods and their headers belong to the right CfgScope

This commit is contained in:
Arthur Baars
2021-02-04 15:29:09 +01:00
parent bfc5ee3149
commit 62802d53c8
2 changed files with 4 additions and 3 deletions

View File

@@ -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 =