Removed useless as casts from compiler code
It allows compiling code with K2 and enabled `-Werror`
This commit is contained in:
committed by
Space Team
parent
d50c6f1b6d
commit
1827df82c4
@@ -274,9 +274,7 @@ fun compileModuleToAnalyzedFir(
|
||||
incrementalExcludesScope
|
||||
)?.also { librariesScope -= it }
|
||||
|
||||
val extensionRegistrars = (projectEnvironment as? VfsBasedProjectEnvironment)
|
||||
?.let { FirExtensionRegistrar.getInstances(it.project) }
|
||||
?: emptyList()
|
||||
val extensionRegistrars = FirExtensionRegistrar.getInstances(projectEnvironment.project)
|
||||
|
||||
val allSources = mutableListOf<KtSourceFile>().apply {
|
||||
addAll(input.groupedSources.commonSources)
|
||||
|
||||
Reference in New Issue
Block a user