Generate declarations for FAKE_OVERRIDE members

This commit is contained in:
Dmitry Petrov
2017-03-17 16:31:48 +03:00
parent 4ee1fb9309
commit a416cddcb2
84 changed files with 836 additions and 9 deletions
@@ -26,6 +26,9 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
RETURN type=kotlin.Nothing from='<get-y>(): Int'
GET_FIELD 'y: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Base>' type=Base origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test1
CONSTRUCTOR public constructor Test1(xx: kotlin.Int, yy: kotlin.Int)
VALUE_PARAMETER value-parameter xx: kotlin.Int
@@ -40,6 +43,13 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
x: GET_VAR 'tmp1_x: Int' type=kotlin.Int origin=null
y: GET_VAR 'tmp0_y: Int' type=kotlin.Int origin=null
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
PROPERTY FAKE_OVERRIDE public final override val x: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-x>(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val y: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-y>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2
CONSTRUCTOR public constructor Test2(xx: kotlin.Int, yy: kotlin.Int)
VALUE_PARAMETER value-parameter xx: kotlin.Int
@@ -67,3 +77,10 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
DELEGATING_CONSTRUCTOR_CALL 'constructor Test2(Int, Int)'
xx: GET_VAR 'tmp1_xx: Int' type=kotlin.Int origin=null
yy: GET_VAR 'tmp0_yy: Int' type=kotlin.Int origin=null
PROPERTY FAKE_OVERRIDE public final override val x: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-x>(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val y: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-y>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String