fix documentation for (object...)

This commit is contained in:
2022-11-02 23:24:15 +00:00
parent 68a4d6ba41
commit 524fc830bf

View File

@@ -89,7 +89,7 @@ class SpecialForms {
// Declare anonymous objects
map["object"] = (wholeExp:ReaderExp, args:Array<ReaderExp>, k:KissState) -> {
if (args.length % 2 != 0) {
throw KissError.fromExp(wholeExp, "(object [field bindings]...) must have an even number of arguments");
throw KissError.fromExp(wholeExp, "(object <field bindings...>) must have an even number of arguments");
}
EObjectDecl([
for (pair in args.groups(2))