FIR: make declarations marked with 'override' implicitly open
#KT-52236 Fixed
This commit is contained in:
committed by
Space Team
parent
9c1a68fcec
commit
6af616d3c3
+3
-2
@@ -197,8 +197,9 @@ internal open class SymbolLightClassForClassOrObject : SymbolLightClassForNamedC
|
||||
val nonFinalFunctionsFromAny = classOrObjectSymbol.getMemberScope()
|
||||
.getCallableSymbols { name -> name.isFromAny }
|
||||
.filterIsInstance<KtFunctionSymbol>()
|
||||
.filterNot { it.modality == Modality.FINAL }
|
||||
.filter { actuallyComesFromAny(it) }
|
||||
.filterNot {
|
||||
it.modality == Modality.FINAL || (it.getContainingSymbol() as? KtNamedClassOrObjectSymbol)?.modality == Modality.FINAL
|
||||
}.filter { actuallyComesFromAny(it) }
|
||||
|
||||
val functionsFromAnyByName = nonFinalFunctionsFromAny.associateBy { it.name }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user