Make parameter names of fictitious function classes non-stable

To be able to change them when overriding invoke in subclasses without a
warning
This commit is contained in:
Alexander Udalov
2015-05-28 20:18:08 +03:00
parent 16b20cf910
commit 158b3ba102
11 changed files with 111 additions and 38 deletions
@@ -0,0 +1,13 @@
package
internal fun test1(/*0*/ f: Function1Impl): kotlin.Unit
internal fun test2(/*0*/ f: (kotlin.String) -> kotlin.Unit): kotlin.Unit
internal fun test3(/*0*/ f: kotlin.String.(kotlin.String) -> kotlin.Unit): kotlin.Unit
internal final class Function1Impl : (kotlin.String) -> kotlin.Unit {
public constructor Function1Impl()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ fun invoke(/*0*/ myParamName: kotlin.String): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}