Some more tests.
This commit is contained in:
committed by
Dmitry Petrov
parent
42988383e0
commit
f2e778d2d0
@@ -0,0 +1,19 @@
|
||||
FILE /objectWithInitializers.kt
|
||||
CLASS CLASS Base
|
||||
CONSTRUCTOR public constructor Base()
|
||||
BLOCK_BODY
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Base
|
||||
CLASS OBJECT Test
|
||||
CONSTRUCTOR private constructor Test()
|
||||
BLOCK_BODY
|
||||
CALL .<init> type=Base operator=SUPER_CONSTRUCTOR_CALL
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test
|
||||
PROPERTY public final val x: kotlin.Int = 1
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
ANONYMOUS_INITIALIZER Test
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD y type=kotlin.Unit operator=null
|
||||
CALL .<get-x> type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS public object Test : Base type=Test
|
||||
Reference in New Issue
Block a user