Files
kotlin-fork/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.txt
T
2016-10-18 09:09:04 +03:00

17 lines
824 B
Plaintext
Vendored

FILE /Derived.kt
CLASS CLASS Derived
CONSTRUCTOR public constructor Derived()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
INSTANCE_INITIALIZER_CALL classDescriptor='Derived'
FUN public final fun setValue(v: kotlin.Any): kotlin.Unit
BLOCK_BODY
WHEN type=kotlin.Unit operator=IF
if: TYPE_OP operator=INSTANCEOF typeOperand=kotlin.String
GET_VAR 'value-parameter v: Any' type=kotlin.Any operator=null
then: BLOCK type=kotlin.Unit operator=null
SET_BACKING_FIELD 'value: String!' type=kotlin.Unit operator=EQ
receiver: THIS of 'Derived' type=Derived
value: TYPE_OP operator=IMPLICIT_CAST typeOperand=kotlin.String!
GET_VAR 'value-parameter v: Any' type=kotlin.Any operator=null