blob: 79a1eb0d8d640470699ef98f15e476f0b80aa921 [file]
Module: lib
FILE fqName:kotlin fileName:/arrayAsserts.kt lineStartOffsets: [0, 15, 16, 115, 157, 229, 310, 316, 318, 319, 401, 439, 487, 526, 588, 594, 610, 612, 613, 660, 711, 746, 752, 763, 787]
FUN[327, 611] name:arraysEqual visibility:private modality:FINAL returnType:kotlin.Boolean
TYPE_PARAMETER[332, 333] name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
VALUE_PARAMETER[347, 366] kind:Regular name:first index:0 type:kotlin.Array<out T of kotlin.arraysEqual>
VALUE_PARAMETER[368, 388] kind:Regular name:second index:1 type:kotlin.Array<out T of kotlin.arraysEqual>
BLOCK_BODY[399, 611]
WHEN[405, 438] type=kotlin.Unit origin=IF
BRANCH[409, 438]
if: CALL[409, 425] 'public final fun EQEQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQEQ
ARG arg0: GET_VAR[409, 414] 'first: kotlin.Array<out T of kotlin.arraysEqual> declared in kotlin.arraysEqual' type=kotlin.Array<out T of kotlin.arraysEqual> origin=null
ARG arg1: GET_VAR[419, 425] 'second: kotlin.Array<out T of kotlin.arraysEqual> declared in kotlin.arraysEqual' type=kotlin.Array<out T of kotlin.arraysEqual> origin=null
then: RETURN[427, 438] type=kotlin.Nothing from='private final fun arraysEqual <T> (first: kotlin.Array<out T of kotlin.arraysEqual>, second: kotlin.Array<out T of kotlin.arraysEqual>): kotlin.Boolean declared in kotlin'
CONST[434, 438] Boolean type=kotlin.Boolean value=true
WHEN[443, 486] type=kotlin.Unit origin=IF
BRANCH[447, 486]
if: CALL[447, 472] 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
ARG <this>: CALL[447, 472] 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
ARG arg0: CALL[453, 457] 'public final fun <get-size> (): kotlin.Int declared in kotlin.Array' type=kotlin.Int origin=GET_PROPERTY
ARG <this>: GET_VAR[447, 452] 'first: kotlin.Array<out T of kotlin.arraysEqual> declared in kotlin.arraysEqual' type=kotlin.Array<out T of kotlin.arraysEqual> origin=null
ARG arg1: CALL[468, 472] 'public final fun <get-size> (): kotlin.Int declared in kotlin.Array' type=kotlin.Int origin=GET_PROPERTY
ARG <this>: GET_VAR[461, 467] 'second: kotlin.Array<out T of kotlin.arraysEqual> declared in kotlin.arraysEqual' type=kotlin.Array<out T of kotlin.arraysEqual> origin=null
then: RETURN[474, 486] type=kotlin.Nothing from='private final fun arraysEqual <T> (first: kotlin.Array<out T of kotlin.arraysEqual>, second: kotlin.Array<out T of kotlin.arraysEqual>): kotlin.Boolean declared in kotlin'
CONST[481, 486] Boolean type=kotlin.Boolean value=false
BLOCK[491, 593] type=kotlin.Unit origin=FOR_LOOP
VAR[505, 522] FOR_LOOP_ITERATOR name:tmp_0 type:kotlin.collections.IntIterator [val]
CALL[505, 522] 'public open fun iterator (): kotlin.collections.IntIterator declared in kotlin.ranges.IntRange' type=kotlin.collections.IntIterator origin=FOR_LOOP_ITERATOR
ARG <this>: CALL[505, 522] 'public final fun rangeTo (other: kotlin.Int): kotlin.ranges.IntRange declared in kotlin.Int' type=kotlin.ranges.IntRange origin=RANGE
ARG <this>: CONST[505, 506] Int type=kotlin.Int value=0
ARG other: CALL[508, 522] 'public final fun minus (other: kotlin.Int): kotlin.Int declared in kotlin.Int' type=kotlin.Int origin=MINUS
ARG <this>: CALL[514, 518] 'public final fun <get-size> (): kotlin.Int declared in kotlin.Array' type=kotlin.Int origin=GET_PROPERTY
ARG <this>: GET_VAR[508, 513] 'first: kotlin.Array<out T of kotlin.arraysEqual> declared in kotlin.arraysEqual' type=kotlin.Array<out T of kotlin.arraysEqual> origin=null
ARG other: CONST[521, 522] Int type=kotlin.Int value=1
WHILE[491, 593] label=null origin=FOR_LOOP_INNER_WHILE
condition: CALL[505, 522] 'public abstract fun hasNext (): kotlin.Boolean declared in kotlin.collections.IntIterator' type=kotlin.Boolean origin=FOR_LOOP_HAS_NEXT
ARG <this>: GET_VAR[505, 522] 'val tmp_0: kotlin.collections.IntIterator declared in kotlin.arraysEqual' type=kotlin.collections.IntIterator origin=null
body: BLOCK[491, 593] type=kotlin.Unit origin=FOR_LOOP_INNER_WHILE
VAR[496, 501] FOR_LOOP_VARIABLE name:index type:kotlin.Int [val]
CALL[505, 522] 'public final fun next (): kotlin.Int declared in kotlin.collections.IntIterator' type=kotlin.Int origin=FOR_LOOP_NEXT
ARG <this>: GET_VAR[505, 522] 'val tmp_0: kotlin.collections.IntIterator declared in kotlin.arraysEqual' type=kotlin.collections.IntIterator origin=null
BLOCK[524, 593] type=kotlin.Unit origin=null
WHEN[534, 587] type=kotlin.Unit origin=IF
BRANCH[538, 587]
if: CALL[538, 573] 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=null
ARG <this>: CALL[539, 573] 'private final fun equal (first: kotlin.Any?, second: kotlin.Any?): kotlin.Boolean declared in kotlin' type=kotlin.Boolean origin=null
ARG first: CALL[545, 557] 'public final fun get (index: kotlin.Int): T of kotlin.Array declared in kotlin.Array' type=T of kotlin.arraysEqual origin=GET_ARRAY_ELEMENT
ARG <this>: GET_VAR[545, 550] 'first: kotlin.Array<out T of kotlin.arraysEqual> declared in kotlin.arraysEqual' type=kotlin.Array<out T of kotlin.arraysEqual> origin=null
ARG index: GET_VAR[551, 556] 'val index: kotlin.Int declared in kotlin.arraysEqual' type=kotlin.Int origin=null
ARG second: CALL[559, 572] 'public final fun get (index: kotlin.Int): T of kotlin.Array declared in kotlin.Array' type=T of kotlin.arraysEqual origin=GET_ARRAY_ELEMENT
ARG <this>: GET_VAR[559, 565] 'second: kotlin.Array<out T of kotlin.arraysEqual> declared in kotlin.arraysEqual' type=kotlin.Array<out T of kotlin.arraysEqual> origin=null
ARG index: GET_VAR[566, 571] 'val index: kotlin.Int declared in kotlin.arraysEqual' type=kotlin.Int origin=null
then: RETURN[575, 587] type=kotlin.Nothing from='private final fun arraysEqual <T> (first: kotlin.Array<out T of kotlin.arraysEqual>, second: kotlin.Array<out T of kotlin.arraysEqual>): kotlin.Boolean declared in kotlin'
CONST[582, 587] Boolean type=kotlin.Boolean value=false
RETURN[598, 609] type=kotlin.Nothing from='private final fun arraysEqual <T> (first: kotlin.Array<out T of kotlin.arraysEqual>, second: kotlin.Array<out T of kotlin.arraysEqual>): kotlin.Boolean declared in kotlin'
CONST[605, 609] Boolean type=kotlin.Boolean value=true
FUN[16, 317] name:assertArrayEquals visibility:public modality:FINAL returnType:kotlin.Unit
TYPE_PARAMETER[21, 22] name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
VALUE_PARAMETER[42, 64] kind:Regular name:expected index:0 type:kotlin.Array<out T of kotlin.assertArrayEquals>
VALUE_PARAMETER[66, 86] kind:Regular name:actual index:1 type:kotlin.Array<out T of kotlin.assertArrayEquals>
VALUE_PARAMETER[88, 111] kind:Regular name:message index:2 type:kotlin.String?
EXPRESSION_BODY[107, 111]
CONST[107, 111] Null type=kotlin.Nothing? value=null
BLOCK_BODY[113, 317]
WHEN[119, 315] type=kotlin.Unit origin=IF
BRANCH[123, 315]
if: CALL[123, 153] 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=null
ARG <this>: CALL[124, 153] 'private final fun arraysEqual <T> (first: kotlin.Array<out T of kotlin.arraysEqual>, second: kotlin.Array<out T of kotlin.arraysEqual>): kotlin.Boolean declared in kotlin' type=kotlin.Boolean origin=null
TYPE_ARG T: T of kotlin.assertArrayEquals
ARG first: GET_VAR[136, 144] 'expected: kotlin.Array<out T of kotlin.assertArrayEquals> declared in kotlin.assertArrayEquals' type=kotlin.Array<out T of kotlin.assertArrayEquals> origin=null
ARG second: GET_VAR[146, 152] 'actual: kotlin.Array<out T of kotlin.assertArrayEquals> declared in kotlin.assertArrayEquals' type=kotlin.Array<out T of kotlin.assertArrayEquals> origin=null
then: BLOCK[155, 315] type=kotlin.Unit origin=null
VAR[165, 228] name:msg type:kotlin.String [val]
WHEN[175, 228] type=kotlin.String origin=IF
BRANCH[179, 198]
if: CALL[179, 194] 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
ARG arg0: GET_VAR[179, 186] 'message: kotlin.String? declared in kotlin.assertArrayEquals' type=kotlin.String? origin=null
ARG arg1: CONST[190, 194] Null type=kotlin.Nothing? value=null
then: CONST[196, 198] String type=kotlin.String value=""
BRANCH[204, 228]
if: CONST[204, 228] Boolean type=kotlin.Boolean value=true
then: STRING_CONCATENATION[204, 228] type=kotlin.String
CONST[205, 218] String type=kotlin.String value=", message = '"
TYPE_OP[219, 226] type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String
GET_VAR[219, 226] 'message: kotlin.String? declared in kotlin.assertArrayEquals' type=kotlin.String? origin=null
CONST[226, 227] String type=kotlin.String value="'"
CALL[237, 309] 'public final fun fail (message: kotlin.String?): kotlin.Nothing declared in kotlin' type=kotlin.Nothing origin=null
ARG message: STRING_CONCATENATION[242, 308] type=kotlin.String
CONST[243, 273] String type=kotlin.String value="Unexpected array: expected = '"
GET_VAR[274, 282] 'expected: kotlin.Array<out T of kotlin.assertArrayEquals> declared in kotlin.assertArrayEquals' type=kotlin.Array<out T of kotlin.assertArrayEquals> origin=null
CONST[282, 295] String type=kotlin.String value="', actual = '"
GET_VAR[296, 302] 'actual: kotlin.Array<out T of kotlin.assertArrayEquals> declared in kotlin.assertArrayEquals' type=kotlin.Array<out T of kotlin.assertArrayEquals> origin=null
CONST[302, 303] String type=kotlin.String value="'"
GET_VAR[304, 307] 'val msg: kotlin.String declared in kotlin.assertArrayEquals' type=kotlin.String origin=null
FUN[621, 792] name:equal visibility:private modality:FINAL returnType:kotlin.Boolean
VALUE_PARAMETER[631, 642] kind:Regular name:first index:0 type:kotlin.Any?
VALUE_PARAMETER[644, 656] kind:Regular name:second index:1 type:kotlin.Any?
BLOCK_BODY[664, 792]
RETURN[792, 792] type=kotlin.Nothing from='private final fun equal (first: kotlin.Any?, second: kotlin.Any?): kotlin.Boolean declared in kotlin'
WHEN[664, 792] type=kotlin.Boolean origin=IF
BRANCH[668, 751]
if: WHEN[668, 707] type=kotlin.Boolean origin=ANDAND
BRANCH[668, 707]
if: TYPE_OP[668, 685] type=kotlin.Boolean origin=INSTANCEOF typeOperand=kotlin.Array<*>
GET_VAR[668, 673] 'first: kotlin.Any? declared in kotlin.equal' type=kotlin.Any? origin=null
then: TYPE_OP[689, 707] type=kotlin.Boolean origin=INSTANCEOF typeOperand=kotlin.Array<*>
GET_VAR[689, 695] 'second: kotlin.Any? declared in kotlin.equal' type=kotlin.Any? origin=null
BRANCH[689, 707]
if: CONST[689, 707] Boolean type=kotlin.Boolean value=true
then: CONST[689, 707] Boolean type=kotlin.Boolean value=false
then: BLOCK[709, 751] type=kotlin.Boolean origin=null
CALL[719, 745] 'private final fun arraysEqual <T> (first: kotlin.Array<out T of kotlin.arraysEqual>, second: kotlin.Array<out T of kotlin.arraysEqual>): kotlin.Boolean declared in kotlin' type=kotlin.Boolean origin=null
TYPE_ARG T: kotlin.Any?
ARG first: TYPE_OP[731, 736] type=kotlin.Array<*> origin=IMPLICIT_CAST typeOperand=kotlin.Array<*>
GET_VAR[731, 736] 'first: kotlin.Any? declared in kotlin.equal' type=kotlin.Any? origin=null
ARG second: TYPE_OP[738, 744] type=kotlin.Array<*> origin=IMPLICIT_CAST typeOperand=kotlin.Array<*>
GET_VAR[738, 744] 'second: kotlin.Any? declared in kotlin.equal' type=kotlin.Any? origin=null
BRANCH[761, 792]
if: CONST[761, 792] Boolean type=kotlin.Boolean value=true
then: BLOCK[761, 792] type=kotlin.Boolean origin=null
CALL[771, 786] 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
ARG arg0: GET_VAR[771, 776] 'first: kotlin.Any? declared in kotlin.equal' type=kotlin.Any? origin=null
ARG arg1: GET_VAR[780, 786] 'second: kotlin.Any? declared in kotlin.equal' type=kotlin.Any? origin=null
FILE fqName:kotlin fileName:/asserts.kt lineStartOffsets: [0, 15, 142, 186, 187, 259, 289, 361, 442, 448, 450, 451, 525, 554, 626, 702, 708, 710, 711, 781, 812, 884, 972, 978, 980, 981, 1076, 1077, 1174, 1175, 1208, 1242, 1244, 1245, 1279, 1314, 1316, 1317, 1365, 1375, 1391, 1420, 1437, 1443, 1523]
FUN[187, 449] name:assertEquals visibility:public modality:FINAL returnType:kotlin.Unit
TYPE_PARAMETER[192, 193] name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
VALUE_PARAMETER[208, 219] kind:Regular name:expected index:0 type:T of kotlin.assertEquals
VALUE_PARAMETER[221, 230] kind:Regular name:actual index:1 type:T of kotlin.assertEquals
VALUE_PARAMETER[232, 255] kind:Regular name:message index:2 type:kotlin.String?
EXPRESSION_BODY[251, 255]
CONST[251, 255] Null type=kotlin.Nothing? value=null
BLOCK_BODY[257, 449]
WHEN[263, 447] type=kotlin.Unit origin=IF
BRANCH[267, 447]
if: CALL[267, 285] 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
ARG <this>: CALL[267, 285] 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
ARG arg0: GET_VAR[267, 275] 'expected: T of kotlin.assertEquals declared in kotlin.assertEquals' type=T of kotlin.assertEquals origin=null
ARG arg1: GET_VAR[279, 285] 'actual: T of kotlin.assertEquals declared in kotlin.assertEquals' type=T of kotlin.assertEquals origin=null
then: BLOCK[287, 447] type=kotlin.Unit origin=null
VAR[297, 360] name:msg type:kotlin.String [val]
WHEN[307, 360] type=kotlin.String origin=IF
BRANCH[311, 330]
if: CALL[311, 326] 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
ARG arg0: GET_VAR[311, 318] 'message: kotlin.String? declared in kotlin.assertEquals' type=kotlin.String? origin=null
ARG arg1: CONST[322, 326] Null type=kotlin.Nothing? value=null
then: CONST[328, 330] String type=kotlin.String value=""
BRANCH[336, 360]
if: CONST[336, 360] Boolean type=kotlin.Boolean value=true
then: STRING_CONCATENATION[336, 360] type=kotlin.String
CONST[337, 350] String type=kotlin.String value=", message = '"
TYPE_OP[351, 358] type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String
GET_VAR[351, 358] 'message: kotlin.String? declared in kotlin.assertEquals' type=kotlin.String? origin=null
CONST[358, 359] String type=kotlin.String value="'"
CALL[369, 441] 'public final fun fail (message: kotlin.String?): kotlin.Nothing declared in kotlin' type=kotlin.Nothing origin=null
ARG message: STRING_CONCATENATION[374, 440] type=kotlin.String
CONST[375, 405] String type=kotlin.String value="Unexpected value: expected = '"
GET_VAR[406, 414] 'expected: T of kotlin.assertEquals declared in kotlin.assertEquals' type=T of kotlin.assertEquals origin=null
CONST[414, 427] String type=kotlin.String value="', actual = '"
GET_VAR[428, 434] 'actual: T of kotlin.assertEquals declared in kotlin.assertEquals' type=T of kotlin.assertEquals origin=null
CONST[434, 435] String type=kotlin.String value="'"
GET_VAR[436, 439] 'val msg: kotlin.String declared in kotlin.assertEquals' type=kotlin.String origin=null
FUN[1317, 1524] name:assertFails visibility:public modality:FINAL returnType:kotlin.Throwable
VALUE_PARAMETER[1333, 1350] kind:Regular name:block index:0 type:kotlin.Function0<kotlin.Unit>
BLOCK_BODY[1363, 1524]
TRY[1369, 1442] type=kotlin.Unit
try: BLOCK[1373, 1396] type=kotlin.Unit origin=null
CALL[1383, 1390] 'public abstract fun invoke (): R of kotlin.Function0 declared in kotlin.Function0' type=kotlin.Unit origin=INVOKE
ARG <this>: GET_VAR[1383, 1388] 'block: kotlin.Function0<kotlin.Unit> declared in kotlin.assertFails' type=kotlin.Function0<kotlin.Unit> origin=VARIABLE_AS_FUNCTION
CATCH[1397, 1442] parameter=val t: kotlin.Throwable declared in kotlin.assertFails
VAR[1404, 1416] CATCH_PARAMETER name:t type:kotlin.Throwable [val]
BLOCK[1418, 1442] type=kotlin.Nothing origin=null
RETURN[1428, 1436] type=kotlin.Nothing from='public final fun assertFails (block: kotlin.Function0<kotlin.Unit>): kotlin.Throwable declared in kotlin'
GET_VAR[1435, 1436] 'val t: kotlin.Throwable declared in kotlin.assertFails' type=kotlin.Throwable origin=null
CALL[1447, 1522] 'public final fun fail (message: kotlin.String?): kotlin.Nothing declared in kotlin' type=kotlin.Nothing origin=null
ARG message: CONST[1452, 1521] String type=kotlin.String value="Expected an exception to be thrown, but was completed successfully."
FUN[1077, 1173] name:assertFalse visibility:public modality:FINAL returnType:kotlin.Unit
VALUE_PARAMETER[1093, 1108] kind:Regular name:actual index:0 type:kotlin.Boolean
VALUE_PARAMETER[1110, 1133] kind:Regular name:message index:1 type:kotlin.String?
EXPRESSION_BODY[1129, 1133]
CONST[1129, 1133] Null type=kotlin.Nothing? value=null
BLOCK_BODY[1137, 1173]
RETURN[1173, 1173] type=kotlin.Nothing from='public final fun assertFalse (actual: kotlin.Boolean, message: kotlin.String?): kotlin.Unit declared in kotlin'
CALL[1137, 1173] 'public final fun assertEquals <T> (expected: T of kotlin.assertEquals, actual: T of kotlin.assertEquals, message: kotlin.String?): kotlin.Unit declared in kotlin' type=kotlin.Unit origin=null
TYPE_ARG T: kotlin.Boolean
ARG expected: CONST[1150, 1155] Boolean type=kotlin.Boolean value=false
ARG actual: GET_VAR[1157, 1163] 'actual: kotlin.Boolean declared in kotlin.assertFalse' type=kotlin.Boolean origin=null
ARG message: GET_VAR[1165, 1172] 'message: kotlin.String? declared in kotlin.assertFalse' type=kotlin.String? origin=null
FUN[451, 709] name:assertNotEquals visibility:public modality:FINAL returnType:kotlin.Unit
TYPE_PARAMETER[456, 457] name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
VALUE_PARAMETER[475, 485] kind:Regular name:illegal index:0 type:T of kotlin.assertNotEquals
VALUE_PARAMETER[487, 496] kind:Regular name:actual index:1 type:T of kotlin.assertNotEquals
VALUE_PARAMETER[498, 521] kind:Regular name:message index:2 type:kotlin.String?
EXPRESSION_BODY[517, 521]
CONST[517, 521] Null type=kotlin.Nothing? value=null
BLOCK_BODY[523, 709]
WHEN[529, 707] type=kotlin.Unit origin=IF
BRANCH[533, 707]
if: CALL[533, 550] 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
ARG arg0: GET_VAR[533, 540] 'illegal: T of kotlin.assertNotEquals declared in kotlin.assertNotEquals' type=T of kotlin.assertNotEquals origin=null
ARG arg1: GET_VAR[544, 550] 'actual: T of kotlin.assertNotEquals declared in kotlin.assertNotEquals' type=T of kotlin.assertNotEquals origin=null
then: BLOCK[552, 707] type=kotlin.Unit origin=null
VAR[562, 625] name:msg type:kotlin.String [val]
WHEN[572, 625] type=kotlin.String origin=IF
BRANCH[576, 595]
if: CALL[576, 591] 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
ARG arg0: GET_VAR[576, 583] 'message: kotlin.String? declared in kotlin.assertNotEquals' type=kotlin.String? origin=null
ARG arg1: CONST[587, 591] Null type=kotlin.Nothing? value=null
then: CONST[593, 595] String type=kotlin.String value=""
BRANCH[601, 625]
if: CONST[601, 625] Boolean type=kotlin.Boolean value=true
then: STRING_CONCATENATION[601, 625] type=kotlin.String
CONST[602, 615] String type=kotlin.String value=", message = '"
TYPE_OP[616, 623] type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String
GET_VAR[616, 623] 'message: kotlin.String? declared in kotlin.assertNotEquals' type=kotlin.String? origin=null
CONST[623, 624] String type=kotlin.String value="'"
CALL[634, 701] 'public final fun fail (message: kotlin.String?): kotlin.Nothing declared in kotlin' type=kotlin.Nothing origin=null
ARG message: STRING_CONCATENATION[639, 700] type=kotlin.String
CONST[640, 666] String type=kotlin.String value="Illegal value: illegal = '"
GET_VAR[667, 674] 'illegal: T of kotlin.assertNotEquals declared in kotlin.assertNotEquals' type=T of kotlin.assertNotEquals origin=null
CONST[674, 687] String type=kotlin.String value="', actual = '"
GET_VAR[688, 694] 'actual: T of kotlin.assertNotEquals declared in kotlin.assertNotEquals' type=T of kotlin.assertNotEquals origin=null
CONST[694, 695] String type=kotlin.String value="'"
GET_VAR[696, 699] 'val msg: kotlin.String declared in kotlin.assertNotEquals' type=kotlin.String origin=null
FUN[711, 979] name:assertSame visibility:public modality:FINAL returnType:kotlin.Unit
TYPE_PARAMETER[716, 717] name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
VALUE_PARAMETER[730, 741] kind:Regular name:expected index:0 type:T of kotlin.assertSame
VALUE_PARAMETER[743, 752] kind:Regular name:actual index:1 type:T of kotlin.assertSame
VALUE_PARAMETER[754, 777] kind:Regular name:message index:2 type:kotlin.String?
EXPRESSION_BODY[773, 777]
CONST[773, 777] Null type=kotlin.Nothing? value=null
BLOCK_BODY[779, 979]
WHEN[785, 977] type=kotlin.Unit origin=IF
BRANCH[789, 977]
if: CALL[789, 808] 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQEQ
ARG <this>: CALL[789, 808] 'public final fun EQEQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQEQ
ARG arg0: GET_VAR[789, 797] 'expected: T of kotlin.assertSame declared in kotlin.assertSame' type=T of kotlin.assertSame origin=null
ARG arg1: GET_VAR[802, 808] 'actual: T of kotlin.assertSame declared in kotlin.assertSame' type=T of kotlin.assertSame origin=null
then: BLOCK[810, 977] type=kotlin.Unit origin=null
VAR[820, 883] name:msg type:kotlin.String [val]
WHEN[830, 883] type=kotlin.String origin=IF
BRANCH[834, 853]
if: CALL[834, 849] 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
ARG arg0: GET_VAR[834, 841] 'message: kotlin.String? declared in kotlin.assertSame' type=kotlin.String? origin=null
ARG arg1: CONST[845, 849] Null type=kotlin.Nothing? value=null
then: CONST[851, 853] String type=kotlin.String value=""
BRANCH[859, 883]
if: CONST[859, 883] Boolean type=kotlin.Boolean value=true
then: STRING_CONCATENATION[859, 883] type=kotlin.String
CONST[860, 873] String type=kotlin.String value=", message = '"
TYPE_OP[874, 881] type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String
GET_VAR[874, 881] 'message: kotlin.String? declared in kotlin.assertSame' type=kotlin.String? origin=null
CONST[881, 882] String type=kotlin.String value="'"
CALL[892, 971] 'public final fun fail (message: kotlin.String?): kotlin.Nothing declared in kotlin' type=kotlin.Nothing origin=null
ARG message: STRING_CONCATENATION[897, 970] type=kotlin.String
CONST[898, 935] String type=kotlin.String value="Expected same instances: expected = '"
GET_VAR[936, 944] 'expected: T of kotlin.assertSame declared in kotlin.assertSame' type=T of kotlin.assertSame origin=null
CONST[944, 957] String type=kotlin.String value="', actual = '"
GET_VAR[958, 964] 'actual: T of kotlin.assertSame declared in kotlin.assertSame' type=T of kotlin.assertSame origin=null
CONST[964, 965] String type=kotlin.String value="'"
GET_VAR[966, 969] 'val msg: kotlin.String declared in kotlin.assertSame' type=kotlin.String origin=null
FUN[981, 1075] name:assertTrue visibility:public modality:FINAL returnType:kotlin.Unit
VALUE_PARAMETER[996, 1011] kind:Regular name:actual index:0 type:kotlin.Boolean
VALUE_PARAMETER[1013, 1036] kind:Regular name:message index:1 type:kotlin.String?
EXPRESSION_BODY[1032, 1036]
CONST[1032, 1036] Null type=kotlin.Nothing? value=null
BLOCK_BODY[1040, 1075]
RETURN[1075, 1075] type=kotlin.Nothing from='public final fun assertTrue (actual: kotlin.Boolean, message: kotlin.String?): kotlin.Unit declared in kotlin'
CALL[1040, 1075] 'public final fun assertEquals <T> (expected: T of kotlin.assertEquals, actual: T of kotlin.assertEquals, message: kotlin.String?): kotlin.Unit declared in kotlin' type=kotlin.Unit origin=null
TYPE_ARG T: kotlin.Boolean
ARG expected: CONST[1053, 1057] Boolean type=kotlin.Boolean value=true
ARG actual: GET_VAR[1059, 1065] 'actual: kotlin.Boolean declared in kotlin.assertTrue' type=kotlin.Boolean origin=null
ARG message: GET_VAR[1067, 1074] 'message: kotlin.String? declared in kotlin.assertTrue' type=kotlin.String? origin=null
FUN[1245, 1315] name:testFalse visibility:public modality:FINAL returnType:kotlin.Unit
VALUE_PARAMETER[1259, 1275] kind:Regular name:f index:0 type:kotlin.Function0<kotlin.Boolean>
BLOCK_BODY[1277, 1315]
CALL[1283, 1313] 'public final fun assertFalse (actual: kotlin.Boolean, message: kotlin.String?): kotlin.Unit declared in kotlin' type=kotlin.Unit origin=null
ARG actual: CALL[1295, 1298] 'public abstract fun invoke (): R of kotlin.Function0 declared in kotlin.Function0' type=kotlin.Boolean origin=INVOKE
ARG <this>: GET_VAR[1295, 1296] 'f: kotlin.Function0<kotlin.Boolean> declared in kotlin.testFalse' type=kotlin.Function0<kotlin.Boolean> origin=VARIABLE_AS_FUNCTION
ARG message: CALL[1302, 1312] 'public open fun toString (): kotlin.String declared in kotlin.Function0' type=kotlin.String origin=null
ARG <this>: TYPE_OP[1300, 1301] type=kotlin.Any origin=IMPLICIT_CAST typeOperand=kotlin.Any
GET_VAR[1300, 1301] 'f: kotlin.Function0<kotlin.Boolean> declared in kotlin.testFalse' type=kotlin.Function0<kotlin.Boolean> origin=null
FUN[1175, 1243] name:testTrue visibility:public modality:FINAL returnType:kotlin.Unit
VALUE_PARAMETER[1188, 1204] kind:Regular name:f index:0 type:kotlin.Function0<kotlin.Boolean>
BLOCK_BODY[1206, 1243]
CALL[1212, 1241] 'public final fun assertTrue (actual: kotlin.Boolean, message: kotlin.String?): kotlin.Unit declared in kotlin' type=kotlin.Unit origin=null
ARG actual: CALL[1223, 1226] 'public abstract fun invoke (): R of kotlin.Function0 declared in kotlin.Function0' type=kotlin.Boolean origin=INVOKE
ARG <this>: GET_VAR[1223, 1224] 'f: kotlin.Function0<kotlin.Boolean> declared in kotlin.testTrue' type=kotlin.Function0<kotlin.Boolean> origin=VARIABLE_AS_FUNCTION
ARG message: CALL[1230, 1240] 'public open fun toString (): kotlin.String declared in kotlin.Function0' type=kotlin.String origin=null
ARG <this>: TYPE_OP[1228, 1229] type=kotlin.Any origin=IMPLICIT_CAST typeOperand=kotlin.Any
GET_VAR[1228, 1229] 'f: kotlin.Function0<kotlin.Boolean> declared in kotlin.testTrue' type=kotlin.Function0<kotlin.Boolean> origin=null
FILE fqName:kotlin fileName:/fail.kt lineStartOffsets: [0, 15, 142, 186, 187, 232, 261]
FUN[187, 262] name:fail visibility:public modality:FINAL returnType:kotlin.Nothing
VALUE_PARAMETER[196, 219] kind:Regular name:message index:0 type:kotlin.String?
EXPRESSION_BODY[215, 219]
CONST[215, 219] Null type=kotlin.Nothing? value=null
BLOCK_BODY[230, 262]
THROW[236, 260] type=kotlin.Nothing
CONSTRUCTOR_CALL[242, 260] 'public constructor <init> (message: kotlin.String?) declared in kotlin.Throwable' type=kotlin.Throwable origin=null
ARG message: GET_VAR[252, 259] 'message: kotlin.String? declared in kotlin.fail' type=kotlin.String? origin=null
FILE fqName:<root> fileName:/lib.kt lineStartOffsets: [0, 34, 137, 161, 176, 177, 192, 208, 209, 258, 273, 275, 276]
FUN[216, 274] name:foo visibility:public modality:FINAL returnType:kotlin.Unit [inline]
TYPE_PARAMETER[221, 222] name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
VALUE_PARAMETER[228, 234] kind:Regular name:arg index:0 type:T of <root>.foo
VALUE_PARAMETER[236, 254] kind:Regular name:block index:1 type:kotlin.Function1<T of <root>.foo, kotlin.Unit>
BLOCK_BODY[256, 274]
CALL[262, 272] 'public abstract fun invoke (p1: P1 of kotlin.Function1): R of kotlin.Function1 declared in kotlin.Function1' type=kotlin.Unit origin=INVOKE
ARG <this>: GET_VAR[262, 267] 'block: kotlin.Function1<T of <root>.foo, kotlin.Unit> declared in <root>.foo' type=kotlin.Function1<T of <root>.foo, kotlin.Unit> origin=VARIABLE_AS_FUNCTION
ARG p1: GET_VAR[268, 271] 'arg: T of <root>.foo declared in <root>.foo' type=T of <root>.foo origin=null
Module: main
FILE fqName:<root> fileName:/main.kt lineStartOffsets: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 33, 50, 51, 102, 122, 124, 125, 175, 197, 199, 200, 220, 239, 256, 274, 293, 303, 309, 310, 323, 325]
FUN[200, 324] name:box visibility:public modality:FINAL returnType:kotlin.String
BLOCK_BODY[218, 324]
VAR[224, 238] name:x type:kotlin.String [var]
CONST[232, 238] String type=kotlin.String value="fail"
BLOCK[243, 308] type=kotlin.Unit origin=INLINE_ARGS_CONTAINER
VAR[-1, -1] IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Any? [val]
TYPE_OP[248, 252] type=kotlin.Any? origin=IMPLICIT_CAST typeOperand=kotlin.Any?
CONST[248, 252] String type=kotlin.String value="OK"
RETURNABLE_BLOCK[243, 308] type=kotlin.Unit origin=null
INLINED_BLOCK[243, 308]->[132, 198] type=kotlin.Unit origin=null
inlinedFunctionSymbol: public final fun wrap <T> (arg: T of <root>.wrap, block: kotlin.Function1<T of <root>.wrap, kotlin.Unit>): kotlin.Unit declared in <root>
inlinedFunctionFileEntry: FILE_ENTRY path:/main.kt
VAR[-1, -1] IR_TEMPORARY_VARIABLE_FOR_INLINED_PARAMETER name:arg type:kotlin.Any? [val]
GET_VAR[-1, -1] 'val tmp_0: kotlin.Any? declared in <root>.box' type=kotlin.Any? origin=null
BLOCK[179, 196] type=kotlin.Unit origin=INLINE_ARGS_CONTAINER
VAR[-1, -1] IR_TEMPORARY_VARIABLE name:tmp_1 type:kotlin.Any? [val]
GET_VAR[185, 188] 'val arg: kotlin.Any? declared in <root>.box' type=kotlin.Any? origin=null
RETURNABLE_BLOCK[179, 196] type=kotlin.Unit origin=null
INLINED_BLOCK[179, 196]->[58, 123] type=kotlin.Unit origin=null
inlinedFunctionSymbol: public final fun inner <T> (arg: T of <root>.inner, block: kotlin.Function1<T of <root>.inner, kotlin.Unit>): kotlin.Unit declared in <root>
inlinedFunctionFileEntry: FILE_ENTRY path:/main.kt
VAR[-1, -1] IR_TEMPORARY_VARIABLE_FOR_INLINED_PARAMETER name:arg type:kotlin.Any? [val]
GET_VAR[-1, -1] 'val tmp_1: kotlin.Any? declared in <root>.box' type=kotlin.Any? origin=null
CALL[106, 121] 'public final fun foo <T> (arg: T of <root>.foo, block: kotlin.Function1<T of <root>.foo, kotlin.Unit>): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
TYPE_ARG T: kotlin.Any?
ARG arg: GET_VAR[110, 113] 'val arg: kotlin.Any? declared in <root>.box' type=kotlin.Any? origin=null
ARG block: RICH_FUNCTION_REFERENCE[254, 308] type=kotlin.Function1<kotlin.String, kotlin.Unit> origin=LAMBDA reflectionTarget='null'
overriddenFunctionSymbol: public abstract fun invoke (p1: P1 of kotlin.Function1): R of kotlin.Function1 declared in kotlin.Function1
invoke: FUN[254, 308] LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL returnType:kotlin.Unit
VALUE_PARAMETER[254, 308] kind:Regular name:it index:0 type:kotlin.String
BLOCK_BODY[264, 302]
CALL[264, 302] 'public final fun foo <T> (arg: T of <root>.foo, block: kotlin.Function1<T of <root>.foo, kotlin.Unit>): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
TYPE_ARG T: kotlin.String
ARG arg: GET_VAR[268, 270] 'it: kotlin.String declared in <root>.box.<anonymous>' type=kotlin.String origin=null
ARG block: RICH_FUNCTION_REFERENCE[272, 302] type=kotlin.Function1<kotlin.String, kotlin.Unit> origin=LAMBDA reflectionTarget='null'
overriddenFunctionSymbol: public abstract fun invoke (p1: P1 of kotlin.Function1): R of kotlin.Function1 declared in kotlin.Function1
invoke: FUN[272, 302] LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL returnType:kotlin.Unit
VALUE_PARAMETER[272, 302] kind:Regular name:it index:0 type:kotlin.String
BLOCK_BODY[286, 292]
SET_VAR[286, 292] 'var x: kotlin.String declared in <root>.box' type=kotlin.Unit origin=EQ
GET_VAR[290, 292] 'it: kotlin.String declared in <root>.box.<anonymous>.<anonymous>' type=kotlin.String origin=null
RETURN[123, 123] type=kotlin.Nothing from='{IrReturnableBlockImpl}'
GET_OBJECT[123, 123] 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
RETURN[198, 198] type=kotlin.Nothing from='{IrReturnableBlockImpl}'
GET_OBJECT[198, 198] 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
RETURN[314, 322] type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
GET_VAR[321, 322] 'var x: kotlin.String declared in <root>.box' type=kotlin.String origin=null
FUN[58, 123] name:inner visibility:public modality:FINAL returnType:kotlin.Unit [inline]
TYPE_PARAMETER[63, 64] name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
VALUE_PARAMETER[72, 78] kind:Regular name:arg index:0 type:T of <root>.inner
VALUE_PARAMETER[80, 98] kind:Regular name:block index:1 type:kotlin.Function1<T of <root>.inner, kotlin.Unit>
BLOCK_BODY[100, 123]
CALL[106, 121] 'public final fun foo <T> (arg: T of <root>.foo, block: kotlin.Function1<T of <root>.foo, kotlin.Unit>): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
TYPE_ARG T: T of <root>.inner
ARG arg: GET_VAR[110, 113] 'arg: T of <root>.inner declared in <root>.inner' type=T of <root>.inner origin=null
ARG block: GET_VAR[115, 120] 'block: kotlin.Function1<T of <root>.inner, kotlin.Unit> declared in <root>.inner' type=kotlin.Function1<T of <root>.inner, kotlin.Unit> origin=null
FUN[132, 198] name:wrap visibility:public modality:FINAL returnType:kotlin.Unit [inline]
TYPE_PARAMETER[137, 138] name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
VALUE_PARAMETER[145, 151] kind:Regular name:arg index:0 type:T of <root>.wrap
VALUE_PARAMETER[153, 171] kind:Regular name:block index:1 type:kotlin.Function1<T of <root>.wrap, kotlin.Unit>
BLOCK_BODY[173, 198]
BLOCK[179, 196] type=kotlin.Unit origin=INLINE_ARGS_CONTAINER
VAR[-1, -1] IR_TEMPORARY_VARIABLE name:tmp_2 type:kotlin.Any? [val]
TYPE_OP[185, 188] type=kotlin.Any? origin=IMPLICIT_CAST typeOperand=kotlin.Any?
GET_VAR[185, 188] 'arg: T of <root>.wrap declared in <root>.wrap' type=T of <root>.wrap origin=null
RETURNABLE_BLOCK[179, 196] type=kotlin.Unit origin=null
INLINED_BLOCK[179, 196]->[58, 123] type=kotlin.Unit origin=null
inlinedFunctionSymbol: public final fun inner <T> (arg: T of <root>.inner, block: kotlin.Function1<T of <root>.inner, kotlin.Unit>): kotlin.Unit declared in <root>
inlinedFunctionFileEntry: FILE_ENTRY path:/main.kt
VAR[-1, -1] IR_TEMPORARY_VARIABLE_FOR_INLINED_PARAMETER name:arg type:kotlin.Any? [val]
GET_VAR[-1, -1] 'val tmp_2: kotlin.Any? declared in <root>.wrap' type=kotlin.Any? origin=null
CALL[106, 121] 'public final fun foo <T> (arg: T of <root>.foo, block: kotlin.Function1<T of <root>.foo, kotlin.Unit>): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
TYPE_ARG T: kotlin.Any?
ARG arg: GET_VAR[110, 113] 'val arg: kotlin.Any? declared in <root>.wrap' type=kotlin.Any? origin=null
ARG block: GET_VAR[115, 120] 'block: kotlin.Function1<T of <root>.wrap, kotlin.Unit> declared in <root>.wrap' type=kotlin.Function1<T of <root>.wrap, kotlin.Unit> origin=null
RETURN[123, 123] type=kotlin.Nothing from='{IrReturnableBlockImpl}'
GET_OBJECT[123, 123] 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit