Fix abstract method error: implement arity in function references
This commit is contained in:
@@ -24,4 +24,14 @@ public abstract class FunctionReference
|
||||
KMemberFunction,
|
||||
KTopLevelExtensionFunction,
|
||||
KLocalFunction {
|
||||
private final int arity;
|
||||
|
||||
public FunctionReference(int arity) {
|
||||
this.arity = arity;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getArity() {
|
||||
return arity;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user