[Tests] Use stable order for ir/kotlinLike dumps
^KT-65406
This commit is contained in:
committed by
Space Team
parent
0fa42a9c11
commit
e6f4d6e6fa
+10
-10
@@ -1,12 +1,3 @@
|
||||
fun <K : Any?> materialize(): K {
|
||||
return CHECK_NOT_NULL<Nothing>(arg0 = null)
|
||||
}
|
||||
|
||||
interface Foo<out T : Any?> {
|
||||
abstract fun foo()
|
||||
|
||||
}
|
||||
|
||||
abstract class Bar<T : Any> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
@@ -18,12 +9,21 @@ abstract class Bar<T : Any> {
|
||||
|
||||
}
|
||||
|
||||
fun <T : Any?> Foo<T>.extFoo() {
|
||||
interface Foo<out T : Any?> {
|
||||
abstract fun foo()
|
||||
|
||||
}
|
||||
|
||||
fun <T : Any> Bar<T>.extBar() {
|
||||
}
|
||||
|
||||
fun <T : Any?> Foo<T>.extFoo() {
|
||||
}
|
||||
|
||||
fun <K : Any?> materialize(): K {
|
||||
return CHECK_NOT_NULL<Nothing>(arg0 = null)
|
||||
}
|
||||
|
||||
fun test_1(x: Any) {
|
||||
x as Bar<Any> /*~> Unit */
|
||||
x as Foo<Any> /*~> Unit */
|
||||
|
||||
Reference in New Issue
Block a user