From 89176e8d75cd46eab5411570a4a8527eeaaaea11 Mon Sep 17 00:00:00 2001 From: Christian Banse Date: Sat, 30 Nov 2024 23:15:47 +0100 Subject: [PATCH] Fixed compile error --- .../src/main/kotlin/de/fraunhofer/aisec/cpg/ScopeManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d5ca10ac37..ba3781213b 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 @@ -881,7 +881,7 @@ class ScopeManager : ScopeProvider { * arguments [scope] and [predicate] are forwarded. */ fun lookupSymbolByNameOfNode( - node: HasScope, + node: Node, scope: Scope? = node.scope, predicate: ((Declaration) -> Boolean)? = null, ): List {