notes
This commit is contained in:
@@ -73,7 +73,6 @@ class FieldForms {
|
||||
};
|
||||
}
|
||||
|
||||
// TODO &rest, &body and &optional arguments
|
||||
static function funcOrMethod(formName:String, args:Array<ReaderExp>, convert:ExprConversion):Field {
|
||||
if (args.length <= 2) {
|
||||
throw CompileError.fromArgs(args, '$formName has wrong number of args');
|
||||
|
||||
@@ -63,7 +63,8 @@ class Helpers {
|
||||
args: switch (argList.def) {
|
||||
case ListExp(funcArgs):
|
||||
[
|
||||
// TODO optional arguments, default values, rest arguments
|
||||
// TODO optional arguments, rest arguments
|
||||
// ^ rest arguments will have to define a macro with the function's name that wraps the rest args in a list when calling it from Kiss
|
||||
for (funcArg in funcArgs)
|
||||
{
|
||||
name: switch (funcArg.def) {
|
||||
|
||||
Reference in New Issue
Block a user