Generate parameter declarations for fake overrides

This commit is contained in:
Dmitry Petrov
2017-05-02 12:02:31 +03:00
parent fa4dc26814
commit 78a601af87
160 changed files with 1204 additions and 12 deletions
@@ -9,10 +9,15 @@ FILE /suppressedNonPublicCall.kt
$this: VALUE_PARAMETER this@C: C
BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
$this: VALUE_PARAMETER this@Any: Any
VALUE_PARAMETER value-parameter other: kotlin.Any?
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
$this: VALUE_PARAMETER this@Any: Any
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
$this: VALUE_PARAMETER this@Any: Any
FUN public inline fun C.foo(): kotlin.Unit
$receiver: VALUE_PARAMETER this@foo: C
BLOCK_BODY
CALL 'bar(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR 'this@foo: C' type=C origin=null
@@ -33,3 +33,4 @@ FILE /unresolvedReference.kt
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-test4>(): [ERROR : Type for 42 *]'
GET_FIELD 'test4: [ERROR : Type for 42 *]' type=[ERROR : Type for 42 *] origin=null