Add workaround for KT-46902
This commit is contained in:
committed by
teamcityserver
parent
89e52cb780
commit
b63770bc7b
+1
-1
@@ -101,7 +101,7 @@ class InlineSourceBuilderImpl(private val disposable: Disposable) : InlineSource
|
|||||||
}
|
}
|
||||||
|
|
||||||
private inner class ModuleInfoImpl(module: InlineSourceBuilder.Module) : ModuleInfo {
|
private inner class ModuleInfoImpl(module: InlineSourceBuilder.Module) : ModuleInfo {
|
||||||
private val dependencyModules = module.dependencies.associateBy(::ModuleInfoImpl)
|
private val dependencyModules = module.dependencies.associateBy { ModuleInfoImpl(it) }
|
||||||
override val name: Name = Name.special("<${module.name}>")
|
override val name: Name = Name.special("<${module.name}>")
|
||||||
override fun dependencies(): List<ModuleInfo> = listOf(this) + dependencyModules.keys
|
override fun dependencies(): List<ModuleInfo> = listOf(this) + dependencyModules.keys
|
||||||
override val platform: TargetPlatform get() = CommonPlatforms.defaultCommonPlatform
|
override val platform: TargetPlatform get() = CommonPlatforms.defaultCommonPlatform
|
||||||
|
|||||||
Reference in New Issue
Block a user