[FIR] Fix computing compatibility of expect and actual modality

This commit is contained in:
Dmitriy Novozhilov
2022-02-15 12:45:44 +03:00
committed by teamcity
parent e1d21d7a37
commit ccb74b6477
10 changed files with 172 additions and 8 deletions
@@ -256,3 +256,6 @@ inline fun <T, U, K, V> List<T>.flatGroupBy(
}
fun <E> MutableList<E>.popLast(): E = removeAt(lastIndex)
fun <K : Enum<K>, V> enumMapOf(vararg pairs: Pair<K, V>): EnumMap<K, V> = EnumMap(mapOf(*pairs))
fun <T : Enum<T>> enumSetOf(element: T, vararg elements: T): EnumSet<T> = EnumSet.of(element, *elements)