Revert "[FIR] Add ConeAttributes to ConeKotlinType"
This reverts commit f76befa8
This commit is contained in:
@@ -163,13 +163,4 @@ inline fun <T, R> Iterable<T>.same(extractor: (T) -> R): Boolean {
|
||||
return true
|
||||
}
|
||||
|
||||
inline fun <R> runIf(condition: Boolean, block: () -> R): R? = if (condition) block() else null
|
||||
|
||||
inline fun <T, R> Collection<T>.foldMap(transform: (T) -> R, operation: (R, R) -> R): R {
|
||||
val iterator = iterator()
|
||||
var result = transform(iterator.next())
|
||||
while (iterator.hasNext()) {
|
||||
result = operation(result, transform(iterator.next()))
|
||||
}
|
||||
return result
|
||||
}
|
||||
inline fun <R> runIf(condition: Boolean, block: () -> R): R? = if (condition) block() else null
|
||||
Reference in New Issue
Block a user