Provide kotlin.AssertionError in kotlin-stdlib-common

Remove related workarounds from kotlin-test-common
This commit is contained in:
Ilya Gorbunov
2017-03-24 21:32:33 +03:00
parent 5c0110850d
commit 609355a311
4 changed files with 7 additions and 29 deletions
@@ -58,6 +58,12 @@ open header class UnsupportedOperationException : RuntimeException {
constructor(message: String)
}
// TODO: Provide typealias impl in stdlib-jvm
open header class AssertionError : Error {
constructor()
constructor(message: String)
}
header interface Comparator<T> {
fun compare(a: T, b: T): Int