Restore deprecated K*Function classes for compatibility

The code compiled with old compiler will work with the new runtime, but not
vice versa
This commit is contained in:
Alexander Udalov
2015-07-16 14:59:05 +03:00
parent 4226b0b2b7
commit de94778846
3 changed files with 43 additions and 7 deletions
@@ -17,10 +17,16 @@
package kotlin.jvm.internal;
import kotlin.jvm.KotlinReflectionNotSupportedError;
import kotlin.reflect.KDeclarationContainer;
import kotlin.reflect.KFunction;
import kotlin.reflect.*;
public class FunctionReference extends FunctionImpl implements KFunction {
@SuppressWarnings("deprecation")
public class FunctionReference
extends FunctionImpl
implements KFunction,
KTopLevelFunction,
KMemberFunction,
KTopLevelExtensionFunction,
KLocalFunction {
private final int arity;
public FunctionReference(int arity) {