From 1705d5f7047798a6b31d896a2af1ce1066adedf4 Mon Sep 17 00:00:00 2001 From: "Denis.Zharkov" Date: Mon, 26 Jun 2023 15:51:58 +0300 Subject: [PATCH] K2: Add @Supress("unused") to debug-related helpers --- .../fir/providers/src/org/jetbrains/kotlin/fir/scopes/Scopes.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/fir/providers/src/org/jetbrains/kotlin/fir/scopes/Scopes.kt b/compiler/fir/providers/src/org/jetbrains/kotlin/fir/scopes/Scopes.kt index 8bf1182180c..4b075297337 100644 --- a/compiler/fir/providers/src/org/jetbrains/kotlin/fir/scopes/Scopes.kt +++ b/compiler/fir/providers/src/org/jetbrains/kotlin/fir/scopes/Scopes.kt @@ -23,6 +23,7 @@ fun ConeClassLikeLookupTag.getNestedClassifierScope(session: FirSession, scopeSe /** * Use this function to collect direct overridden tree for debug purposes */ +@Suppress("unused") @TestOnly fun debugCollectOverrides(symbol: FirCallableSymbol<*>, session: FirSession, scopeSession: ScopeSession): Map { val scope = symbol.dispatchReceiverType?.scope(