[FIR] Fix ambiguity between Sequence.forEach and Iterable.forEach (with @HidesMembers) ^KT-50776 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
4a200a2d7e
commit
defb0cf611
@@ -3,8 +3,6 @@ interface AutoCloseable {
|
||||
fun close()
|
||||
}
|
||||
|
||||
fun Throwable.addSuppressed(other: Throwable) {}
|
||||
|
||||
internal fun AutoCloseable?.closeFinally(cause: Throwable?) = when {
|
||||
this == null -> {}
|
||||
cause == null -> close()
|
||||
|
||||
Reference in New Issue
Block a user