[LL FIR] remove unused function
This commit is contained in:
+1
-10
@@ -28,9 +28,6 @@ import org.jetbrains.kotlin.fir.declarations.synthetic.FirSyntheticPropertyAcces
|
||||
import org.jetbrains.kotlin.fir.resolve.ScopeSession
|
||||
import org.jetbrains.kotlin.fir.resolve.transformers.FirImportResolveTransformer
|
||||
import org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirTowerDataContextCollector
|
||||
import org.jetbrains.kotlin.psi.KtClassBody
|
||||
import org.jetbrains.kotlin.psi.KtDeclaration
|
||||
import org.jetbrains.kotlin.psi.KtEnumEntry
|
||||
|
||||
internal class LLFirModuleLazyDeclarationResolver(val moduleComponents: LLFirModuleResolveComponents) {
|
||||
|
||||
@@ -235,10 +232,4 @@ private fun handleExceptionFromResolve(
|
||||
withEntry("moduleData", firDeclarationToResolve.moduleData) { it.toString() }
|
||||
withFirEntry("firDeclarationToResolve", firDeclarationToResolve)
|
||||
}
|
||||
}
|
||||
|
||||
private fun KtDeclaration.getContainingEnumEntryAsMemberOfEnumEntry(): KtEnumEntry? {
|
||||
val body = parent as? KtClassBody ?: return null
|
||||
return body.parent as? KtEnumEntry
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user