blob: 0a88114b477ff17aaac83e389d411946eae6c991 [file]
Module: lib
FILE fqName:kotlin fileName:/arrayAsserts.kt lineStartOffsets: [0, 39, 54, 55, 154, 196, 268, 349, 355, 357, 358, 440, 478, 526, 565, 627, 633, 649, 651, 652, 699, 750, 785, 791, 802, 826]
annotations:
Suppress(names = ["KOTLIN_PACKAGE_USAGE"] type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String)
FUN[366, 650] name:arraysEqual visibility:private modality:FINAL returnType:kotlin.Boolean
TYPE_PARAMETER[371, 372] name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
VALUE_PARAMETER[386, 405] kind:Regular name:first index:0 type:kotlin.Array<out T of kotlin.arraysEqual>
VALUE_PARAMETER[407, 427] kind:Regular name:second index:1 type:kotlin.Array<out T of kotlin.arraysEqual>
BLOCK_BODY[438, 650]
WHEN[444, 477] type=kotlin.Unit origin=IF
BRANCH[448, 477]
if: CALL[448, 464] '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[448, 453] '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[458, 464] 'second: kotlin.Array<out T of kotlin.arraysEqual> declared in kotlin.arraysEqual' type=kotlin.Array<out T of kotlin.arraysEqual> origin=null
then: RETURN[466, 477] 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[473, 477] Boolean type=kotlin.Boolean value=true
WHEN[482, 525] type=kotlin.Unit origin=IF
BRANCH[486, 525]
if: CALL[486, 511] 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
ARG <this>: CALL[486, 511] '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[492, 496] 'public final fun <get-size> (): kotlin.Int declared in kotlin.Array' type=kotlin.Int origin=GET_PROPERTY
ARG <this>: GET_VAR[486, 491] '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[507, 511] 'public final fun <get-size> (): kotlin.Int declared in kotlin.Array' type=kotlin.Int origin=GET_PROPERTY
ARG <this>: GET_VAR[500, 506] 'second: kotlin.Array<out T of kotlin.arraysEqual> declared in kotlin.arraysEqual' type=kotlin.Array<out T of kotlin.arraysEqual> origin=null
then: RETURN[513, 525] 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[520, 525] Boolean type=kotlin.Boolean value=false
BLOCK[530, 632] type=kotlin.Unit origin=FOR_LOOP
VAR[544, 561] FOR_LOOP_ITERATOR name:tmp_0 type:kotlin.collections.IntIterator [val]
CALL[544, 561] 'public open fun iterator (): kotlin.collections.IntIterator declared in kotlin.ranges.IntRange' type=kotlin.collections.IntIterator origin=FOR_LOOP_ITERATOR
ARG <this>: CALL[544, 561] 'public final fun rangeTo (other: kotlin.Int): kotlin.ranges.IntRange declared in kotlin.Int' type=kotlin.ranges.IntRange origin=RANGE
ARG <this>: CONST[544, 545] Int type=kotlin.Int value=0
ARG other: CALL[547, 561] 'public final fun minus (other: kotlin.Int): kotlin.Int declared in kotlin.Int' type=kotlin.Int origin=MINUS
ARG <this>: CALL[553, 557] 'public final fun <get-size> (): kotlin.Int declared in kotlin.Array' type=kotlin.Int origin=GET_PROPERTY
ARG <this>: GET_VAR[547, 552] '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[560, 561] Int type=kotlin.Int value=1
WHILE[530, 632] label=null origin=FOR_LOOP_INNER_WHILE
condition: CALL[544, 561] 'public abstract fun hasNext (): kotlin.Boolean declared in kotlin.collections.IntIterator' type=kotlin.Boolean origin=FOR_LOOP_HAS_NEXT
ARG <this>: GET_VAR[544, 561] 'val tmp_0: kotlin.collections.IntIterator declared in kotlin.arraysEqual' type=kotlin.collections.IntIterator origin=null
body: BLOCK[530, 632] type=kotlin.Unit origin=FOR_LOOP_INNER_WHILE
VAR[535, 540] FOR_LOOP_VARIABLE name:index type:kotlin.Int [val]
CALL[544, 561] 'public final fun next (): kotlin.Int declared in kotlin.collections.IntIterator' type=kotlin.Int origin=FOR_LOOP_NEXT
ARG <this>: GET_VAR[544, 561] 'val tmp_0: kotlin.collections.IntIterator declared in kotlin.arraysEqual' type=kotlin.collections.IntIterator origin=null
BLOCK[563, 632] type=kotlin.Unit origin=null
WHEN[573, 626] type=kotlin.Unit origin=IF
BRANCH[577, 626]
if: CALL[577, 612] 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=null
ARG <this>: CALL[578, 612] 'private final fun equal (first: kotlin.Any?, second: kotlin.Any?): kotlin.Boolean declared in kotlin' type=kotlin.Boolean origin=null
ARG first: CALL[584, 596] '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[584, 589] '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[590, 595] 'val index: kotlin.Int declared in kotlin.arraysEqual' type=kotlin.Int origin=null
ARG second: CALL[598, 611] '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[598, 604] '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[605, 610] 'val index: kotlin.Int declared in kotlin.arraysEqual' type=kotlin.Int origin=null
then: RETURN[614, 626] 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[621, 626] Boolean type=kotlin.Boolean value=false
RETURN[637, 648] 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[644, 648] Boolean type=kotlin.Boolean value=true
FUN[55, 356] name:assertArrayEquals visibility:public modality:FINAL returnType:kotlin.Unit
TYPE_PARAMETER[60, 61] name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
VALUE_PARAMETER[81, 103] kind:Regular name:expected index:0 type:kotlin.Array<out T of kotlin.assertArrayEquals>
VALUE_PARAMETER[105, 125] kind:Regular name:actual index:1 type:kotlin.Array<out T of kotlin.assertArrayEquals>
VALUE_PARAMETER[127, 150] kind:Regular name:message index:2 type:kotlin.String?
EXPRESSION_BODY[146, 150]
CONST[146, 150] Null type=kotlin.Nothing? value=null
BLOCK_BODY[152, 356]
WHEN[158, 354] type=kotlin.Unit origin=IF
BRANCH[162, 354]
if: CALL[162, 192] 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=null
ARG <this>: CALL[163, 192] '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[175, 183] '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[185, 191] 'actual: kotlin.Array<out T of kotlin.assertArrayEquals> declared in kotlin.assertArrayEquals' type=kotlin.Array<out T of kotlin.assertArrayEquals> origin=null
then: BLOCK[194, 354] type=kotlin.Unit origin=null
VAR[204, 267] name:msg type:kotlin.String [val]
WHEN[214, 267] type=kotlin.String origin=IF
BRANCH[218, 237]
if: CALL[218, 233] '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[218, 225] 'message: kotlin.String? declared in kotlin.assertArrayEquals' type=kotlin.String? origin=null
ARG arg1: CONST[229, 233] Null type=kotlin.Nothing? value=null
then: CONST[235, 237] String type=kotlin.String value=""
BRANCH[243, 267]
if: CONST[243, 267] Boolean type=kotlin.Boolean value=true
then: STRING_CONCATENATION[243, 267] type=kotlin.String
CONST[244, 257] String type=kotlin.String value=", message = '"
TYPE_OP[258, 265] type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String
GET_VAR[258, 265] 'message: kotlin.String? declared in kotlin.assertArrayEquals' type=kotlin.String? origin=null
CONST[265, 266] String type=kotlin.String value="'"
CALL[276, 348] 'public final fun fail (message: kotlin.String?): kotlin.Nothing declared in kotlin' type=kotlin.Nothing origin=null
ARG message: STRING_CONCATENATION[281, 347] type=kotlin.String
CONST[282, 312] String type=kotlin.String value="Unexpected array: expected = '"
GET_VAR[313, 321] 'expected: kotlin.Array<out T of kotlin.assertArrayEquals> declared in kotlin.assertArrayEquals' type=kotlin.Array<out T of kotlin.assertArrayEquals> origin=null
CONST[321, 334] String type=kotlin.String value="', actual = '"
GET_VAR[335, 341] 'actual: kotlin.Array<out T of kotlin.assertArrayEquals> declared in kotlin.assertArrayEquals' type=kotlin.Array<out T of kotlin.assertArrayEquals> origin=null
CONST[341, 342] String type=kotlin.String value="'"
GET_VAR[343, 346] 'val msg: kotlin.String declared in kotlin.assertArrayEquals' type=kotlin.String origin=null
FUN[660, 831] name:equal visibility:private modality:FINAL returnType:kotlin.Boolean
VALUE_PARAMETER[670, 681] kind:Regular name:first index:0 type:kotlin.Any?
VALUE_PARAMETER[683, 695] kind:Regular name:second index:1 type:kotlin.Any?
BLOCK_BODY[703, 831]
RETURN[831, 831] type=kotlin.Nothing from='private final fun equal (first: kotlin.Any?, second: kotlin.Any?): kotlin.Boolean declared in kotlin'
WHEN[703, 831] type=kotlin.Boolean origin=IF
BRANCH[707, 790]
if: WHEN[707, 746] type=kotlin.Boolean origin=ANDAND
BRANCH[707, 746]
if: TYPE_OP[707, 724] type=kotlin.Boolean origin=INSTANCEOF typeOperand=kotlin.Array<*>
GET_VAR[707, 712] 'first: kotlin.Any? declared in kotlin.equal' type=kotlin.Any? origin=null
then: TYPE_OP[728, 746] type=kotlin.Boolean origin=INSTANCEOF typeOperand=kotlin.Array<*>
GET_VAR[728, 734] 'second: kotlin.Any? declared in kotlin.equal' type=kotlin.Any? origin=null
BRANCH[728, 746]
if: CONST[728, 746] Boolean type=kotlin.Boolean value=true
then: CONST[728, 746] Boolean type=kotlin.Boolean value=false
then: BLOCK[748, 790] type=kotlin.Boolean origin=null
CALL[758, 784] '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[770, 775] type=kotlin.Array<*> origin=IMPLICIT_CAST typeOperand=kotlin.Array<*>
GET_VAR[770, 775] 'first: kotlin.Any? declared in kotlin.equal' type=kotlin.Any? origin=null
ARG second: TYPE_OP[777, 783] type=kotlin.Array<*> origin=IMPLICIT_CAST typeOperand=kotlin.Array<*>
GET_VAR[777, 783] 'second: kotlin.Any? declared in kotlin.equal' type=kotlin.Any? origin=null
BRANCH[800, 831]
if: CONST[800, 831] Boolean type=kotlin.Boolean value=true
then: BLOCK[800, 831] type=kotlin.Boolean origin=null
CALL[810, 825] '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[810, 815] 'first: kotlin.Any? declared in kotlin.equal' type=kotlin.Any? origin=null
ARG arg1: GET_VAR[819, 825] 'second: kotlin.Any? declared in kotlin.equal' type=kotlin.Any? origin=null
FILE fqName:kotlin fileName:/asserts.kt lineStartOffsets: [0, 39, 54, 181, 225, 226, 298, 328, 400, 481, 487, 489, 490, 564, 593, 665, 741, 747, 749, 750, 820, 851, 923, 1011, 1017, 1019, 1020, 1115, 1116, 1213, 1214, 1247, 1281, 1283, 1284, 1318, 1353, 1355, 1356, 1404, 1414, 1430, 1459, 1476, 1482, 1562]
annotations:
Suppress(names = ["KOTLIN_PACKAGE_USAGE"] type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String)
FUN[226, 488] name:assertEquals visibility:public modality:FINAL returnType:kotlin.Unit
TYPE_PARAMETER[231, 232] name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
VALUE_PARAMETER[247, 258] kind:Regular name:expected index:0 type:T of kotlin.assertEquals
VALUE_PARAMETER[260, 269] kind:Regular name:actual index:1 type:T of kotlin.assertEquals
VALUE_PARAMETER[271, 294] kind:Regular name:message index:2 type:kotlin.String?
EXPRESSION_BODY[290, 294]
CONST[290, 294] Null type=kotlin.Nothing? value=null
BLOCK_BODY[296, 488]
WHEN[302, 486] type=kotlin.Unit origin=IF
BRANCH[306, 486]
if: CALL[306, 324] 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
ARG <this>: CALL[306, 324] '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[306, 314] 'expected: T of kotlin.assertEquals declared in kotlin.assertEquals' type=T of kotlin.assertEquals origin=null
ARG arg1: GET_VAR[318, 324] 'actual: T of kotlin.assertEquals declared in kotlin.assertEquals' type=T of kotlin.assertEquals origin=null
then: BLOCK[326, 486] type=kotlin.Unit origin=null
VAR[336, 399] name:msg type:kotlin.String [val]
WHEN[346, 399] type=kotlin.String origin=IF
BRANCH[350, 369]
if: CALL[350, 365] '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[350, 357] 'message: kotlin.String? declared in kotlin.assertEquals' type=kotlin.String? origin=null
ARG arg1: CONST[361, 365] Null type=kotlin.Nothing? value=null
then: CONST[367, 369] String type=kotlin.String value=""
BRANCH[375, 399]
if: CONST[375, 399] Boolean type=kotlin.Boolean value=true
then: STRING_CONCATENATION[375, 399] type=kotlin.String
CONST[376, 389] String type=kotlin.String value=", message = '"
TYPE_OP[390, 397] type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String
GET_VAR[390, 397] 'message: kotlin.String? declared in kotlin.assertEquals' type=kotlin.String? origin=null
CONST[397, 398] String type=kotlin.String value="'"
CALL[408, 480] 'public final fun fail (message: kotlin.String?): kotlin.Nothing declared in kotlin' type=kotlin.Nothing origin=null
ARG message: STRING_CONCATENATION[413, 479] type=kotlin.String
CONST[414, 444] String type=kotlin.String value="Unexpected value: expected = '"
GET_VAR[445, 453] 'expected: T of kotlin.assertEquals declared in kotlin.assertEquals' type=T of kotlin.assertEquals origin=null
CONST[453, 466] String type=kotlin.String value="', actual = '"
GET_VAR[467, 473] 'actual: T of kotlin.assertEquals declared in kotlin.assertEquals' type=T of kotlin.assertEquals origin=null
CONST[473, 474] String type=kotlin.String value="'"
GET_VAR[475, 478] 'val msg: kotlin.String declared in kotlin.assertEquals' type=kotlin.String origin=null
FUN[1356, 1563] name:assertFails visibility:public modality:FINAL returnType:kotlin.Throwable
VALUE_PARAMETER[1372, 1389] kind:Regular name:block index:0 type:kotlin.Function0<kotlin.Unit>
BLOCK_BODY[1402, 1563]
TRY[1408, 1481] type=kotlin.Unit
try: BLOCK[1412, 1435] type=kotlin.Unit origin=null
CALL[1422, 1429] 'public abstract fun invoke (): R of kotlin.Function0 declared in kotlin.Function0' type=kotlin.Unit origin=INVOKE
ARG <this>: GET_VAR[1422, 1427] 'block: kotlin.Function0<kotlin.Unit> declared in kotlin.assertFails' type=kotlin.Function0<kotlin.Unit> origin=VARIABLE_AS_FUNCTION
CATCH[1436, 1481] parameter=val t: kotlin.Throwable declared in kotlin.assertFails
VAR[1443, 1455] CATCH_PARAMETER name:t type:kotlin.Throwable [val]
BLOCK[1457, 1481] type=kotlin.Nothing origin=null
RETURN[1467, 1475] type=kotlin.Nothing from='public final fun assertFails (block: kotlin.Function0<kotlin.Unit>): kotlin.Throwable declared in kotlin'
GET_VAR[1474, 1475] 'val t: kotlin.Throwable declared in kotlin.assertFails' type=kotlin.Throwable origin=null
CALL[1486, 1561] 'public final fun fail (message: kotlin.String?): kotlin.Nothing declared in kotlin' type=kotlin.Nothing origin=null
ARG message: CONST[1491, 1560] String type=kotlin.String value="Expected an exception to be thrown, but was completed successfully."
FUN[1116, 1212] name:assertFalse visibility:public modality:FINAL returnType:kotlin.Unit
VALUE_PARAMETER[1132, 1147] kind:Regular name:actual index:0 type:kotlin.Boolean
VALUE_PARAMETER[1149, 1172] kind:Regular name:message index:1 type:kotlin.String?
EXPRESSION_BODY[1168, 1172]
CONST[1168, 1172] Null type=kotlin.Nothing? value=null
BLOCK_BODY[1176, 1212]
RETURN[1212, 1212] type=kotlin.Nothing from='public final fun assertFalse (actual: kotlin.Boolean, message: kotlin.String?): kotlin.Unit declared in kotlin'
CALL[1176, 1212] '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[1189, 1194] Boolean type=kotlin.Boolean value=false
ARG actual: GET_VAR[1196, 1202] 'actual: kotlin.Boolean declared in kotlin.assertFalse' type=kotlin.Boolean origin=null
ARG message: GET_VAR[1204, 1211] 'message: kotlin.String? declared in kotlin.assertFalse' type=kotlin.String? origin=null
FUN[490, 748] name:assertNotEquals visibility:public modality:FINAL returnType:kotlin.Unit
TYPE_PARAMETER[495, 496] name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
VALUE_PARAMETER[514, 524] kind:Regular name:illegal index:0 type:T of kotlin.assertNotEquals
VALUE_PARAMETER[526, 535] kind:Regular name:actual index:1 type:T of kotlin.assertNotEquals
VALUE_PARAMETER[537, 560] kind:Regular name:message index:2 type:kotlin.String?
EXPRESSION_BODY[556, 560]
CONST[556, 560] Null type=kotlin.Nothing? value=null
BLOCK_BODY[562, 748]
WHEN[568, 746] type=kotlin.Unit origin=IF
BRANCH[572, 746]
if: CALL[572, 589] '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[572, 579] 'illegal: T of kotlin.assertNotEquals declared in kotlin.assertNotEquals' type=T of kotlin.assertNotEquals origin=null
ARG arg1: GET_VAR[583, 589] 'actual: T of kotlin.assertNotEquals declared in kotlin.assertNotEquals' type=T of kotlin.assertNotEquals origin=null
then: BLOCK[591, 746] type=kotlin.Unit origin=null
VAR[601, 664] name:msg type:kotlin.String [val]
WHEN[611, 664] type=kotlin.String origin=IF
BRANCH[615, 634]
if: CALL[615, 630] '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[615, 622] 'message: kotlin.String? declared in kotlin.assertNotEquals' type=kotlin.String? origin=null
ARG arg1: CONST[626, 630] Null type=kotlin.Nothing? value=null
then: CONST[632, 634] String type=kotlin.String value=""
BRANCH[640, 664]
if: CONST[640, 664] Boolean type=kotlin.Boolean value=true
then: STRING_CONCATENATION[640, 664] type=kotlin.String
CONST[641, 654] String type=kotlin.String value=", message = '"
TYPE_OP[655, 662] type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String
GET_VAR[655, 662] 'message: kotlin.String? declared in kotlin.assertNotEquals' type=kotlin.String? origin=null
CONST[662, 663] String type=kotlin.String value="'"
CALL[673, 740] 'public final fun fail (message: kotlin.String?): kotlin.Nothing declared in kotlin' type=kotlin.Nothing origin=null
ARG message: STRING_CONCATENATION[678, 739] type=kotlin.String
CONST[679, 705] String type=kotlin.String value="Illegal value: illegal = '"
GET_VAR[706, 713] 'illegal: T of kotlin.assertNotEquals declared in kotlin.assertNotEquals' type=T of kotlin.assertNotEquals origin=null
CONST[713, 726] String type=kotlin.String value="', actual = '"
GET_VAR[727, 733] 'actual: T of kotlin.assertNotEquals declared in kotlin.assertNotEquals' type=T of kotlin.assertNotEquals origin=null
CONST[733, 734] String type=kotlin.String value="'"
GET_VAR[735, 738] 'val msg: kotlin.String declared in kotlin.assertNotEquals' type=kotlin.String origin=null
FUN[750, 1018] name:assertSame visibility:public modality:FINAL returnType:kotlin.Unit
TYPE_PARAMETER[755, 756] name:T index:0 variance: superTypes:[kotlin.Any?] reified:false
VALUE_PARAMETER[769, 780] kind:Regular name:expected index:0 type:T of kotlin.assertSame
VALUE_PARAMETER[782, 791] kind:Regular name:actual index:1 type:T of kotlin.assertSame
VALUE_PARAMETER[793, 816] kind:Regular name:message index:2 type:kotlin.String?
EXPRESSION_BODY[812, 816]
CONST[812, 816] Null type=kotlin.Nothing? value=null
BLOCK_BODY[818, 1018]
WHEN[824, 1016] type=kotlin.Unit origin=IF
BRANCH[828, 1016]
if: CALL[828, 847] 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQEQ
ARG <this>: CALL[828, 847] '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[828, 836] 'expected: T of kotlin.assertSame declared in kotlin.assertSame' type=T of kotlin.assertSame origin=null
ARG arg1: GET_VAR[841, 847] 'actual: T of kotlin.assertSame declared in kotlin.assertSame' type=T of kotlin.assertSame origin=null
then: BLOCK[849, 1016] type=kotlin.Unit origin=null
VAR[859, 922] name:msg type:kotlin.String [val]
WHEN[869, 922] type=kotlin.String origin=IF
BRANCH[873, 892]
if: CALL[873, 888] '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[873, 880] 'message: kotlin.String? declared in kotlin.assertSame' type=kotlin.String? origin=null
ARG arg1: CONST[884, 888] Null type=kotlin.Nothing? value=null
then: CONST[890, 892] String type=kotlin.String value=""
BRANCH[898, 922]
if: CONST[898, 922] Boolean type=kotlin.Boolean value=true
then: STRING_CONCATENATION[898, 922] type=kotlin.String
CONST[899, 912] String type=kotlin.String value=", message = '"
TYPE_OP[913, 920] type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String
GET_VAR[913, 920] 'message: kotlin.String? declared in kotlin.assertSame' type=kotlin.String? origin=null
CONST[920, 921] String type=kotlin.String value="'"
CALL[931, 1010] 'public final fun fail (message: kotlin.String?): kotlin.Nothing declared in kotlin' type=kotlin.Nothing origin=null
ARG message: STRING_CONCATENATION[936, 1009] type=kotlin.String
CONST[937, 974] String type=kotlin.String value="Expected same instances: expected = '"
GET_VAR[975, 983] 'expected: T of kotlin.assertSame declared in kotlin.assertSame' type=T of kotlin.assertSame origin=null
CONST[983, 996] String type=kotlin.String value="', actual = '"
GET_VAR[997, 1003] 'actual: T of kotlin.assertSame declared in kotlin.assertSame' type=T of kotlin.assertSame origin=null
CONST[1003, 1004] String type=kotlin.String value="'"
GET_VAR[1005, 1008] 'val msg: kotlin.String declared in kotlin.assertSame' type=kotlin.String origin=null
FUN[1020, 1114] name:assertTrue visibility:public modality:FINAL returnType:kotlin.Unit
VALUE_PARAMETER[1035, 1050] kind:Regular name:actual index:0 type:kotlin.Boolean
VALUE_PARAMETER[1052, 1075] kind:Regular name:message index:1 type:kotlin.String?
EXPRESSION_BODY[1071, 1075]
CONST[1071, 1075] Null type=kotlin.Nothing? value=null
BLOCK_BODY[1079, 1114]
RETURN[1114, 1114] type=kotlin.Nothing from='public final fun assertTrue (actual: kotlin.Boolean, message: kotlin.String?): kotlin.Unit declared in kotlin'
CALL[1079, 1114] '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[1092, 1096] Boolean type=kotlin.Boolean value=true
ARG actual: GET_VAR[1098, 1104] 'actual: kotlin.Boolean declared in kotlin.assertTrue' type=kotlin.Boolean origin=null
ARG message: GET_VAR[1106, 1113] 'message: kotlin.String? declared in kotlin.assertTrue' type=kotlin.String? origin=null
FUN[1284, 1354] name:testFalse visibility:public modality:FINAL returnType:kotlin.Unit
VALUE_PARAMETER[1298, 1314] kind:Regular name:f index:0 type:kotlin.Function0<kotlin.Boolean>
BLOCK_BODY[1316, 1354]
CALL[1322, 1352] 'public final fun assertFalse (actual: kotlin.Boolean, message: kotlin.String?): kotlin.Unit declared in kotlin' type=kotlin.Unit origin=null
ARG actual: CALL[1334, 1337] 'public abstract fun invoke (): R of kotlin.Function0 declared in kotlin.Function0' type=kotlin.Boolean origin=INVOKE
ARG <this>: GET_VAR[1334, 1335] 'f: kotlin.Function0<kotlin.Boolean> declared in kotlin.testFalse' type=kotlin.Function0<kotlin.Boolean> origin=VARIABLE_AS_FUNCTION
ARG message: CALL[1341, 1351] 'public open fun toString (): kotlin.String declared in kotlin.Function0' type=kotlin.String origin=null
ARG <this>: TYPE_OP[1339, 1340] type=kotlin.Any origin=IMPLICIT_CAST typeOperand=kotlin.Any
GET_VAR[1339, 1340] 'f: kotlin.Function0<kotlin.Boolean> declared in kotlin.testFalse' type=kotlin.Function0<kotlin.Boolean> origin=null
FUN[1214, 1282] name:testTrue visibility:public modality:FINAL returnType:kotlin.Unit
VALUE_PARAMETER[1227, 1243] kind:Regular name:f index:0 type:kotlin.Function0<kotlin.Boolean>
BLOCK_BODY[1245, 1282]
CALL[1251, 1280] 'public final fun assertTrue (actual: kotlin.Boolean, message: kotlin.String?): kotlin.Unit declared in kotlin' type=kotlin.Unit origin=null
ARG actual: CALL[1262, 1265] 'public abstract fun invoke (): R of kotlin.Function0 declared in kotlin.Function0' type=kotlin.Boolean origin=INVOKE
ARG <this>: GET_VAR[1262, 1263] 'f: kotlin.Function0<kotlin.Boolean> declared in kotlin.testTrue' type=kotlin.Function0<kotlin.Boolean> origin=VARIABLE_AS_FUNCTION
ARG message: CALL[1269, 1279] 'public open fun toString (): kotlin.String declared in kotlin.Function0' type=kotlin.String origin=null
ARG <this>: TYPE_OP[1267, 1268] type=kotlin.Any origin=IMPLICIT_CAST typeOperand=kotlin.Any
GET_VAR[1267, 1268] 'f: kotlin.Function0<kotlin.Boolean> declared in kotlin.testTrue' type=kotlin.Function0<kotlin.Boolean> origin=null
FILE fqName:kotlin fileName:/fail.kt lineStartOffsets: [0, 39, 54, 181, 225, 226, 271, 300]
annotations:
Suppress(names = ["KOTLIN_PACKAGE_USAGE"] type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String)
FUN[226, 301] name:fail visibility:public modality:FINAL returnType:kotlin.Nothing
VALUE_PARAMETER[235, 258] kind:Regular name:message index:0 type:kotlin.String?
EXPRESSION_BODY[254, 258]
CONST[254, 258] Null type=kotlin.Nothing? value=null
BLOCK_BODY[269, 301]
THROW[275, 299] type=kotlin.Nothing
CONSTRUCTOR_CALL[281, 299] 'public constructor <init> (message: kotlin.String?) declared in kotlin.Throwable' type=kotlin.Throwable origin=null
ARG message: GET_VAR[291, 298] '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