Files
kotlin-fork/compiler/testData/ir/irText/declarations/catchParameterInTopLevelProperty.txt
T
Dmitry Petrov ab455d6572 IR: IrSimpleFunction.correspondingProperty: IrProperty?
Non-null for a property accessor, points to a corresponding property.
2018-05-25 09:40:51 +03:00

16 lines
855 B
Plaintext
Vendored

FILE fqName:<root> fileName:/catchParameterInTopLevelProperty.kt
PROPERTY name:test type:kotlin.Unit visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test type:kotlin.Unit visibility:public flags:final
EXPRESSION_BODY
TRY type=kotlin.Unit
try: BLOCK type=kotlin.Unit origin=null
CATCH parameter=e: Throwable
VAR CATCH_PARAMETER name:e type:kotlin.Throwable flags:val
BLOCK type=kotlin.Unit origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test> visibility:public modality:FINAL <> () returnType:Unit flags:
correspondingProperty: PROPERTY name:test type:kotlin.Unit visibility:public modality:FINAL flags:val
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-test>(): Unit'
GET_FIELD 'test: Unit' type=kotlin.Unit origin=null