From 0c64754dda4146629bb1ca959073e6f79bd12aab Mon Sep 17 00:00:00 2001 From: Tobias Specht Date: Thu, 12 Dec 2024 14:40:27 +0100 Subject: [PATCH] fixup --- .../src/main/kotlin/de/fraunhofer/aisec/cpg/ScopeManager.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/ScopeManager.kt b/cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/ScopeManager.kt index eb52d5e3a0..c8af463458 100644 --- a/cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/ScopeManager.kt +++ b/cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/ScopeManager.kt @@ -907,8 +907,7 @@ class ScopeManager : ScopeProvider { val n: Name if (extractedScope == null) { // the scope does not exist at all - scope = null - n = name + return listOf() } else { scope = extractedScope.scope ?: startScope n = extractedScope.adjustedName