Skip to content

Commit 34f02ee

Browse files
hmacalexrford
andcommitted
Fix constantQualifiedName
Exclude partial results Co-authored-by: Alex Ford <alexrford@users.noreply.github.com>
1 parent 91d56cd commit 34f02ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ql/src/queries/analysis/Definitions.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ string constantQualifiedName(ConstantWriteAccess w) {
9090
)
9191
or
9292
/* base case - there's no parent module */
93+
not exists(ConstantWriteAccess parent | parent = w.getEnclosingModule()) and
9394
result = w.getName()
9495
}
9596

0 commit comments

Comments
 (0)