Files
kotlin-fork/compiler/testData/ir/irText/expressions/conventionComparisons.txt
T
2017-05-04 09:33:03 +03:00

58 lines
3.4 KiB
Plaintext
Vendored

FILE /conventionComparisons.kt
CLASS INTERFACE IA
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IB
FUN public abstract operator fun IA.compareTo(other: IA): kotlin.Int
$this: VALUE_PARAMETER <receiver: IB>
$receiver: VALUE_PARAMETER <receiver: compareTo(IA) on IA: Int>
VALUE_PARAMETER value-parameter other: IA
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun IB.test1(a1: IA, a2: IA): kotlin.Boolean
$receiver: VALUE_PARAMETER <receiver: test1(IA, IA) on IB: Boolean>
VALUE_PARAMETER value-parameter a1: IA
VALUE_PARAMETER value-parameter a2: IA
BLOCK_BODY
RETURN type=kotlin.Nothing from='test1(IA, IA) on IB: Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(IA) on IA: Int' type=kotlin.Int origin=GT
$this: GET_VAR '<receiver: test1(IA, IA) on IB: Boolean>' type=IB origin=null
$receiver: GET_VAR 'value-parameter a1: IA' type=IA origin=null
other: GET_VAR 'value-parameter a2: IA' type=IA origin=null
FUN public fun IB.test2(a1: IA, a2: IA): kotlin.Boolean
$receiver: VALUE_PARAMETER <receiver: test2(IA, IA) on IB: Boolean>
VALUE_PARAMETER value-parameter a1: IA
VALUE_PARAMETER value-parameter a2: IA
BLOCK_BODY
RETURN type=kotlin.Nothing from='test2(IA, IA) on IB: Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(IA) on IA: Int' type=kotlin.Int origin=GTEQ
$this: GET_VAR '<receiver: test2(IA, IA) on IB: Boolean>' type=IB origin=null
$receiver: GET_VAR 'value-parameter a1: IA' type=IA origin=null
other: GET_VAR 'value-parameter a2: IA' type=IA origin=null
FUN public fun IB.test3(a1: IA, a2: IA): kotlin.Boolean
$receiver: VALUE_PARAMETER <receiver: test3(IA, IA) on IB: Boolean>
VALUE_PARAMETER value-parameter a1: IA
VALUE_PARAMETER value-parameter a2: IA
BLOCK_BODY
RETURN type=kotlin.Nothing from='test3(IA, IA) on IB: Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(IA) on IA: Int' type=kotlin.Int origin=LT
$this: GET_VAR '<receiver: test3(IA, IA) on IB: Boolean>' type=IB origin=null
$receiver: GET_VAR 'value-parameter a1: IA' type=IA origin=null
other: GET_VAR 'value-parameter a2: IA' type=IA origin=null
FUN public fun IB.test4(a1: IA, a2: IA): kotlin.Boolean
$receiver: VALUE_PARAMETER <receiver: test4(IA, IA) on IB: Boolean>
VALUE_PARAMETER value-parameter a1: IA
VALUE_PARAMETER value-parameter a2: IA
BLOCK_BODY
RETURN type=kotlin.Nothing from='test4(IA, IA) on IB: Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(IA) on IA: Int' type=kotlin.Int origin=LTEQ
$this: GET_VAR '<receiver: test4(IA, IA) on IB: Boolean>' type=IB origin=null
$receiver: GET_VAR 'value-parameter a1: IA' type=IA origin=null
other: GET_VAR 'value-parameter a2: IA' type=IA origin=null