[LL FIR] correctly handle facade conflicts in module dependencies

This commit is contained in:
Ilya Kirillov
2022-07-19 14:53:59 +02:00
parent 237ce187ab
commit 38c6d4b740
2 changed files with 67 additions and 18 deletions
@@ -0,0 +1,11 @@
/*
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.utils.collections
import org.jetbrains.kotlin.utils.SmartList
public inline fun <E> buildSmartList(build: MutableList<E>.() -> Unit): List<E> =
SmartList<E>().apply(build)