From 7ac6f5849cf650a9ae3cd5d05fb0e75eaa1b7c4c Mon Sep 17 00:00:00 2001 From: Erik Krogh Kristensen Date: Mon, 28 Mar 2022 11:04:18 +0200 Subject: [PATCH] fix Import::getImportString --- ql/ql/src/codeql_ql/ast/Ast.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)