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:
+13
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user