Fix abstract method error: implement arity in function references

This commit is contained in:
Alexander Udalov
2015-06-01 12:28:41 +03:00
parent 803fb82b8b
commit 596d378962
4 changed files with 51 additions and 3 deletions
@@ -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;
}
}