Drop generic parameters from FunctionImpl classes in JVM runtime

They are not used in any way but cause some complex code in JVM back-end
This commit is contained in:
Alexander Udalov
2015-05-21 03:35:00 +03:00
parent 135ee92966
commit 86ecb423f6
4 changed files with 26 additions and 71 deletions
@@ -18,6 +18,6 @@ package kotlin.jvm.internal
import java.io.Serializable
public abstract class ExtensionFunctionImpl<in T, out R> : Serializable {
public abstract class ExtensionFunctionImpl : Serializable {
override fun toString() = "${(this as Object).getClass().getGenericInterfaces()[0]}"
}
@@ -18,6 +18,6 @@ package kotlin.jvm.internal
import java.io.Serializable
public abstract class FunctionImpl<out R> : Serializable {
public abstract class FunctionImpl : Serializable {
override fun toString() = "${(this as Object).getClass().getGenericInterfaces()[0]}"
}
@@ -18,6 +18,6 @@ package kotlin.jvm.internal
import java.io.Serializable
public abstract class MemberFunctionImpl<in T, out R> : Serializable {
public abstract class MemberFunctionImpl : Serializable {
override fun toString() = "${(this as Object).getClass().getGenericInterfaces()[0]}"
}