FILE fqName: fileName:/smartCastAside2.kt CLASS CLASS name:Bar modality:ABSTRACT visibility:public superTypes:[kotlin.Any] $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.Bar.Bar> TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any] reified:false CONSTRUCTOR visibility:public <> () returnType:.Bar.Bar> [primary] BLOCK_BODY DELEGATING_CONSTRUCTOR_CALL 'public constructor () declared in kotlin.Any' INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Bar modality:ABSTRACT visibility:public superTypes:[kotlin.Any]' FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] overridden: public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any $this: VALUE_PARAMETER name: type:kotlin.Any VALUE_PARAMETER name:other index:0 type:kotlin.Any? FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] overridden: public open fun hashCode (): kotlin.Int declared in kotlin.Any $this: VALUE_PARAMETER name: type:kotlin.Any FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] overridden: public open fun toString (): kotlin.String declared in kotlin.Any $this: VALUE_PARAMETER name: type:kotlin.Any FUN name:bar visibility:public modality:ABSTRACT <> ($this:.Bar.Bar>) returnType:kotlin.Unit $this: VALUE_PARAMETER name: type:.Bar.Bar> CLASS INTERFACE name:Foo modality:ABSTRACT visibility:public superTypes:[kotlin.Any] $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.Foo.Foo> TYPE_PARAMETER name:T index:0 variance:out superTypes:[kotlin.Any?] reified:false FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] overridden: public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any $this: VALUE_PARAMETER name: type:kotlin.Any VALUE_PARAMETER name:other index:0 type:kotlin.Any? FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] overridden: public open fun hashCode (): kotlin.Int declared in kotlin.Any $this: VALUE_PARAMETER name: type:kotlin.Any FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] overridden: public open fun toString (): kotlin.String declared in kotlin.Any $this: VALUE_PARAMETER name: type:kotlin.Any FUN name:foo visibility:public modality:ABSTRACT <> ($this:.Foo.Foo>) returnType:kotlin.Unit $this: VALUE_PARAMETER name: type:.Foo.Foo> FUN name:extBar visibility:public modality:FINAL ($receiver:.Bar.extBar>) returnType:kotlin.Unit TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any] reified:false $receiver: VALUE_PARAMETER name: type:.Bar.extBar> BLOCK_BODY FUN name:extFoo visibility:public modality:FINAL ($receiver:.Foo.extFoo>) returnType:kotlin.Unit TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:false $receiver: VALUE_PARAMETER name: type:.Foo.extFoo> BLOCK_BODY FUN name:materialize visibility:public modality:FINAL () returnType:K of .materialize TYPE_PARAMETER name:K index:0 variance: superTypes:[kotlin.Any?] reified:false BLOCK_BODY RETURN type=kotlin.Nothing from='public final fun materialize (): K of .materialize declared in ' CALL 'public final fun CHECK_NOT_NULL (arg0: T0 of kotlin.internal.ir.CHECK_NOT_NULL?): {T0 of kotlin.internal.ir.CHECK_NOT_NULL & Any} declared in kotlin.internal.ir' type=kotlin.Nothing origin=EXCLEXCL : kotlin.Nothing arg0: CONST Null type=kotlin.Nothing? value=null FUN name:test_1 visibility:public modality:FINAL <> (x:kotlin.Any) returnType:kotlin.Unit VALUE_PARAMETER name:x index:0 type:kotlin.Any BLOCK_BODY TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit TYPE_OP type=.Bar origin=CAST typeOperand=.Bar GET_VAR 'x: kotlin.Any declared in .test_1' type=kotlin.Any origin=null TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit TYPE_OP type=.Foo origin=CAST typeOperand=.Foo GET_VAR 'x: kotlin.Any declared in .test_1' type=kotlin.Any origin=null CALL 'public abstract fun foo (): kotlin.Unit declared in .Foo' type=kotlin.Unit origin=null $this: TYPE_OP type=.Foo origin=IMPLICIT_CAST typeOperand=.Foo GET_VAR 'x: kotlin.Any declared in .test_1' type=kotlin.Any origin=null CALL 'public abstract fun bar (): kotlin.Unit declared in .Bar' type=kotlin.Unit origin=null $this: TYPE_OP type=.Bar origin=IMPLICIT_CAST typeOperand=.Bar GET_VAR 'x: kotlin.Any declared in .test_1' type=kotlin.Any origin=null CALL 'public final fun extFoo (): kotlin.Unit declared in ' type=kotlin.Unit origin=null : kotlin.Any $receiver: TYPE_OP type=.Foo origin=IMPLICIT_CAST typeOperand=.Foo GET_VAR 'x: kotlin.Any declared in .test_1' type=kotlin.Any origin=null CALL 'public final fun extBar (): kotlin.Unit declared in ' type=kotlin.Unit origin=null : kotlin.Any $receiver: TYPE_OP type=.Bar origin=IMPLICIT_CAST typeOperand=.Bar GET_VAR 'x: kotlin.Any declared in .test_1' type=kotlin.Any origin=null FUN name:test_2 visibility:public modality:FINAL <> (x:kotlin.Any) returnType:kotlin.Unit VALUE_PARAMETER name:x index:0 type:kotlin.Any BLOCK_BODY TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit TYPE_OP type=.Bar? origin=CAST typeOperand=.Bar? GET_VAR 'x: kotlin.Any declared in .test_2' type=kotlin.Any origin=null TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit TYPE_OP type=.Foo? origin=CAST typeOperand=.Foo? GET_VAR 'x: kotlin.Any declared in .test_2' type=kotlin.Any origin=null CALL 'public abstract fun foo (): kotlin.Unit declared in .Foo' type=kotlin.Unit origin=null $this: TYPE_OP type=.Foo origin=IMPLICIT_CAST typeOperand=.Foo CALL 'public final fun CHECK_NOT_NULL (arg0: T0 of kotlin.internal.ir.CHECK_NOT_NULL?): {T0 of kotlin.internal.ir.CHECK_NOT_NULL & Any} declared in kotlin.internal.ir' type=kotlin.Any origin=EXCLEXCL : kotlin.Any arg0: GET_VAR 'x: kotlin.Any declared in .test_2' type=kotlin.Any origin=null CALL 'public abstract fun bar (): kotlin.Unit declared in .Bar' type=kotlin.Unit origin=null $this: TYPE_OP type=.Bar origin=IMPLICIT_CAST typeOperand=.Bar CALL 'public final fun CHECK_NOT_NULL (arg0: T0 of kotlin.internal.ir.CHECK_NOT_NULL?): {T0 of kotlin.internal.ir.CHECK_NOT_NULL & Any} declared in kotlin.internal.ir' type=kotlin.Any origin=EXCLEXCL : kotlin.Any arg0: GET_VAR 'x: kotlin.Any declared in .test_2' type=kotlin.Any origin=null CALL 'public final fun extFoo (): kotlin.Unit declared in ' type=kotlin.Unit origin=null : kotlin.Any $receiver: TYPE_OP type=.Foo origin=IMPLICIT_CAST typeOperand=.Foo CALL 'public final fun CHECK_NOT_NULL (arg0: T0 of kotlin.internal.ir.CHECK_NOT_NULL?): {T0 of kotlin.internal.ir.CHECK_NOT_NULL & Any} declared in kotlin.internal.ir' type=kotlin.Any origin=EXCLEXCL : kotlin.Any arg0: GET_VAR 'x: kotlin.Any declared in .test_2' type=kotlin.Any origin=null CALL 'public final fun extBar (): kotlin.Unit declared in ' type=kotlin.Unit origin=null : kotlin.Any $receiver: TYPE_OP type=.Bar origin=IMPLICIT_CAST typeOperand=.Bar CALL 'public final fun CHECK_NOT_NULL (arg0: T0 of kotlin.internal.ir.CHECK_NOT_NULL?): {T0 of kotlin.internal.ir.CHECK_NOT_NULL & Any} declared in kotlin.internal.ir' type=kotlin.Any origin=EXCLEXCL : kotlin.Any arg0: GET_VAR 'x: kotlin.Any declared in .test_2' type=kotlin.Any origin=null FUN name:test_3 visibility:public modality:FINAL <> (x:kotlin.Any) returnType:kotlin.Unit VALUE_PARAMETER name:x index:0 type:kotlin.Any BLOCK_BODY TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit TYPE_OP type=.Bar? origin=CAST typeOperand=.Bar? GET_VAR 'x: kotlin.Any declared in .test_3' type=kotlin.Any origin=null TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit TYPE_OP type=.Foo? origin=CAST typeOperand=.Foo? GET_VAR 'x: kotlin.Any declared in .test_3' type=kotlin.Any origin=null CALL 'public abstract fun foo (): kotlin.Unit declared in .Foo' type=kotlin.Unit origin=null $this: TYPE_OP type=.Foo origin=IMPLICIT_CAST typeOperand=.Foo BLOCK type=kotlin.Any origin=ELVIS VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Any [val] GET_VAR 'x: kotlin.Any declared in .test_3' type=kotlin.Any origin=null WHEN type=kotlin.Any origin=null BRANCH if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ arg0: GET_VAR 'val tmp_0: kotlin.Any declared in .test_3' type=kotlin.Any origin=null arg1: CONST Null type=kotlin.Nothing? value=null then: CALL 'public final fun materialize (): K of .materialize declared in ' type=kotlin.Any origin=null : kotlin.Any BRANCH if: CONST Boolean type=kotlin.Boolean value=true then: GET_VAR 'val tmp_0: kotlin.Any declared in .test_3' type=kotlin.Any origin=null CALL 'public abstract fun bar (): kotlin.Unit declared in .Bar' type=kotlin.Unit origin=null $this: TYPE_OP type=.Bar origin=IMPLICIT_CAST typeOperand=.Bar BLOCK type=kotlin.Any origin=ELVIS VAR IR_TEMPORARY_VARIABLE name:tmp_1 type:kotlin.Any [val] GET_VAR 'x: kotlin.Any declared in .test_3' type=kotlin.Any origin=null WHEN type=kotlin.Any origin=null BRANCH if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ arg0: GET_VAR 'val tmp_1: kotlin.Any declared in .test_3' type=kotlin.Any origin=null arg1: CONST Null type=kotlin.Nothing? value=null then: CALL 'public final fun materialize (): K of .materialize declared in ' type=kotlin.Any origin=null : kotlin.Any BRANCH if: CONST Boolean type=kotlin.Boolean value=true then: GET_VAR 'val tmp_1: kotlin.Any declared in .test_3' type=kotlin.Any origin=null CALL 'public final fun extFoo (): kotlin.Unit declared in ' type=kotlin.Unit origin=null : kotlin.Any $receiver: TYPE_OP type=.Foo origin=IMPLICIT_CAST typeOperand=.Foo BLOCK type=kotlin.Any origin=ELVIS VAR IR_TEMPORARY_VARIABLE name:tmp_2 type:kotlin.Any [val] GET_VAR 'x: kotlin.Any declared in .test_3' type=kotlin.Any origin=null WHEN type=kotlin.Any origin=null BRANCH if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ arg0: GET_VAR 'val tmp_2: kotlin.Any declared in .test_3' type=kotlin.Any origin=null arg1: CONST Null type=kotlin.Nothing? value=null then: CALL 'public final fun materialize (): K of .materialize declared in ' type=kotlin.Any origin=null : kotlin.Any BRANCH if: CONST Boolean type=kotlin.Boolean value=true then: GET_VAR 'val tmp_2: kotlin.Any declared in .test_3' type=kotlin.Any origin=null CALL 'public final fun extBar (): kotlin.Unit declared in ' type=kotlin.Unit origin=null : kotlin.Any $receiver: TYPE_OP type=.Bar origin=IMPLICIT_CAST typeOperand=.Bar BLOCK type=kotlin.Any origin=ELVIS VAR IR_TEMPORARY_VARIABLE name:tmp_3 type:kotlin.Any [val] GET_VAR 'x: kotlin.Any declared in .test_3' type=kotlin.Any origin=null WHEN type=kotlin.Any origin=null BRANCH if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ arg0: GET_VAR 'val tmp_3: kotlin.Any declared in .test_3' type=kotlin.Any origin=null arg1: CONST Null type=kotlin.Nothing? value=null then: CALL 'public final fun materialize (): K of .materialize declared in ' type=kotlin.Any origin=null : kotlin.Any BRANCH if: CONST Boolean type=kotlin.Boolean value=true then: GET_VAR 'val tmp_3: kotlin.Any declared in .test_3' type=kotlin.Any origin=null