mirror of
https://github.com/github/codeql.git
synced 2026-02-08 03:01:10 +01:00
Add missing parents for ModuleExpr
This commit is contained in:
@@ -1199,5 +1199,9 @@ class ModuleExpr extends TModuleExpr, ModuleRef {
|
||||
override AstNode getParent() {
|
||||
result = super.getParent() or
|
||||
result.(PredicateCall).getQualifier() = this
|
||||
or
|
||||
result.(PredicateExpr).getQualifier() = this
|
||||
or
|
||||
result.(Module).getAlias() = this
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user