tests for decompiled texts: AssertionError -> RuntimeException
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ class ClassWithClassObject {
|
|||||||
get() = this + 2
|
get() = this + 2
|
||||||
|
|
||||||
fun <T, K, G> complexFun(a: T, b: K, c: G): G {
|
fun <T, K, G> complexFun(a: T, b: K, c: G): G {
|
||||||
throw AssertionError()
|
throw RuntimeException()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,6 @@ object Object {
|
|||||||
get() = this + 2
|
get() = this + 2
|
||||||
|
|
||||||
fun <T, K, G> complexFun(a: T, b: K, c: G): G {
|
fun <T, K, G> complexFun(a: T, b: K, c: G): G {
|
||||||
throw AssertionError()
|
throw RuntimeException()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ abstract class SimpleClass: D<Tr, Int>(), Tr, List<String> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun g(d: D<String, Tr>): List<D<A, Int>> {
|
fun g(d: D<String, Tr>): List<D<A, Int>> {
|
||||||
throw AssertionError()
|
throw RuntimeException()
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Int.f() {
|
fun Int.f() {
|
||||||
@@ -24,6 +24,6 @@ abstract class SimpleClass: D<Tr, Int>(), Tr, List<String> {
|
|||||||
get() = this + 2
|
get() = this + 2
|
||||||
|
|
||||||
fun <T, K, G> complexFun(a: T, b: K, c: G): G {
|
fun <T, K, G> complexFun(a: T, b: K, c: G): G {
|
||||||
throw AssertionError()
|
throw RuntimeException()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user