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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user