From 66212c0ec66641706f549ee9a86479b5d8004ba0 Mon Sep 17 00:00:00 2001 From: Kirill Rakhman Date: Tue, 5 Mar 2024 16:03:33 +0100 Subject: [PATCH] [FIR] Add todo about isValidTypeParameterFromOuterDeclaration #KT-66349 --- .../src/org/jetbrains/kotlin/fir/resolve/DeclarationUtils.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compiler/fir/semantics/src/org/jetbrains/kotlin/fir/resolve/DeclarationUtils.kt b/compiler/fir/semantics/src/org/jetbrains/kotlin/fir/resolve/DeclarationUtils.kt index 5571512feee..e21938bd3bf 100644 --- a/compiler/fir/semantics/src/org/jetbrains/kotlin/fir/resolve/DeclarationUtils.kt +++ b/compiler/fir/semantics/src/org/jetbrains/kotlin/fir/resolve/DeclarationUtils.kt @@ -48,6 +48,9 @@ fun FirClassLikeSymbol.getContainingDeclaration(ses return null } +// TODO(KT-66349) Investigate and fix the contract. +// - Why aren't we supporting nested `inner` classes? +// - Why are we traversing super types? fun isValidTypeParameterFromOuterDeclaration( typeParameterSymbol: FirTypeParameterSymbol, declaration: FirDeclaration?,