Skip to content

Commit af2f5a2

Browse files
committed
unified: Remove location of TModuleRoot
1 parent 35c54b1 commit af2f5a2

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

unified/ql/lib/codeql/unified/internal/StaticNameBinding.qll

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ class NameBindingNode extends TNameBindingNode {
7575
exists(AstNode n | this.isLocalNamespace(n) and result = n.getLocation())
7676
or
7777
exists(ModuleScopeRepr repr | this.isModuleScopeNode(repr) and result = repr.getLocation())
78-
or
79-
this.isModuleRoot() and
80-
exists(ModuleScopeRepr repr | result = repr.getLocation())
8178
}
8279
}
8380

0 commit comments

Comments
 (0)