[LL FIR] drop obsolete workaround
The original problem is already fixed ^KTIJ-26848
This commit is contained in:
committed by
Space Team
parent
af1cfa1cb6
commit
5e63d1a5e5
-3
@@ -190,9 +190,6 @@ var KtFile.originalKtFile by UserDataProperty(ORIGINAL_KT_FILE_KEY)
|
||||
|
||||
|
||||
private fun KtClassLikeDeclaration.findFir(provider: FirProvider): FirClassLikeDeclaration? {
|
||||
// TODO, KTIJ-26848: this is a workaround for IDE index inconsistency for unnamed classes
|
||||
if (name == null) return null
|
||||
|
||||
return if (provider is LLFirProvider) {
|
||||
provider.getFirClassifierByDeclaration(this)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user