[Tests] Use stable order for ir/kotlinLike dumps
^KT-65406
This commit is contained in:
committed by
Space Team
parent
0fa42a9c11
commit
e6f4d6e6fa
+31
-30
@@ -1,5 +1,28 @@
|
||||
fun foo() {
|
||||
return DelegatedB().invoke()
|
||||
class C<out T : Any?> : B<T> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
open class DelegatedB : B<String> {
|
||||
private /* final field */ val $$delegate_0: C<String> = C<String>()
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override operator fun invoke() {
|
||||
<this>.#$$delegate_0.invoke()
|
||||
}
|
||||
|
||||
override operator fun invoke(value: String) {
|
||||
<this>.#$$delegate_0.invoke(value = value)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
interface A {
|
||||
@@ -12,35 +35,13 @@ interface A {
|
||||
|
||||
}
|
||||
|
||||
fun A.bar(value: String) {
|
||||
}
|
||||
|
||||
open class DelegatedB : B<String> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
private /* final field */ val $$delegate_0: C<String> = C<String>()
|
||||
override operator fun invoke() {
|
||||
<this>.#$$delegate_0.invoke()
|
||||
}
|
||||
|
||||
override operator fun invoke(value: String) {
|
||||
<this>.#$$delegate_0.invoke(value = value)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
interface B<out T : Any?> : A {
|
||||
}
|
||||
|
||||
class C<out T : Any?> : B<T> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
fun A.bar(value: String) {
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
return DelegatedB().invoke()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user