[Tests] Use stable order for ir/kotlinLike dumps
^KT-65406
This commit is contained in:
committed by
Space Team
parent
0fa42a9c11
commit
e6f4d6e6fa
@@ -1,35 +1,26 @@
|
||||
object FiveTimes {
|
||||
private constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class IntCell {
|
||||
var value: Int
|
||||
field = value
|
||||
get
|
||||
set
|
||||
|
||||
constructor(value: Int) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
var value: Int
|
||||
field = value
|
||||
get
|
||||
set
|
||||
|
||||
}
|
||||
|
||||
interface IReceiver {
|
||||
operator fun FiveTimes.iterator(): IntCell {
|
||||
return IntCell(value = 5)
|
||||
}
|
||||
|
||||
operator fun IntCell.hasNext(): Boolean {
|
||||
return greater(arg0 = <this>.<get-value>(), arg1 = 0)
|
||||
}
|
||||
|
||||
operator fun FiveTimes.iterator(): IntCell {
|
||||
return IntCell(value = 5)
|
||||
}
|
||||
|
||||
operator fun IntCell.next(): Int {
|
||||
return { // BLOCK
|
||||
val tmp_0: IntCell = <this>
|
||||
@@ -43,6 +34,15 @@ interface IReceiver {
|
||||
|
||||
}
|
||||
|
||||
object FiveTimes {
|
||||
private constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
fun IReceiver.test() {
|
||||
{ // BLOCK
|
||||
val tmp_2: IntCell = (<this>, FiveTimes).iterator()
|
||||
@@ -54,3 +54,4 @@ fun IReceiver.test() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user