Generate property initializer within property scope
This commit is contained in:
@@ -0,0 +1 @@
|
||||
val test = try { } catch (e : Throwable) { }
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
FILE /catchParameterInTopLevelProperty.kt
|
||||
PROPERTY public val test: kotlin.Unit
|
||||
FIELD PROPERTY_BACKING_FIELD public val test: kotlin.Unit
|
||||
EXPRESSION_BODY
|
||||
TRY type=kotlin.Unit
|
||||
try: BLOCK type=kotlin.Unit origin=null
|
||||
CATCH parameter=e: Throwable
|
||||
VAR CATCH_PARAMETER val e: kotlin.Throwable
|
||||
BLOCK type=kotlin.Unit origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test>(): Unit'
|
||||
GET_FIELD 'test: Unit' type=kotlin.Unit origin=null
|
||||
Reference in New Issue
Block a user