mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
Add workaround for KT-46902
This commit is contained in:
committed by
teamcityserver
parent
89e52cb780
commit
b63770bc7b
@@ -101,7 +101,7 @@ class InlineSourceBuilderImpl(private val disposable: Disposable) : InlineSource
|
||||
}
|
||||
|
||||
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 fun dependencies(): List<ModuleInfo> = listOf(this) + dependencyModules.keys
|
||||
override val platform: TargetPlatform get() = CommonPlatforms.defaultCommonPlatform
|
||||
|
||||
Reference in New Issue
Block a user