diff --git a/ql/ql/src/codeql_ql/ast/Ast.qll b/ql/ql/src/codeql_ql/ast/Ast.qll index afa10e3db8b..4afc2b1de43 100644 --- a/ql/ql/src/codeql_ql/ast/Ast.qll +++ b/ql/ql/src/codeql_ql/ast/Ast.qll @@ -1134,7 +1134,7 @@ class Import extends TImport, ModuleMember, ModuleRef { */ string getImportString() { exists(string selec | - not exists(getQualifiedName(_)) and selec = "" + not exists(getSelectionName(_)) and selec = "" or selec = "::" + strictconcat(int i, string q | q = this.getSelectionName(i) | q, "::" order by i)