From 00107c092c03050783ea79c02ace8002ea11b1f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Pospi=CC=81s=CC=8Cil?= Date: Mon, 3 Feb 2020 15:36:42 +0100 Subject: [PATCH] Fix next function arity --- src/core/corelib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/corelib.c b/src/core/corelib.c index 5042ddbf..3d57459d 100644 --- a/src/core/corelib.c +++ b/src/core/corelib.c @@ -990,7 +990,7 @@ JanetTable *janet_core_env(JanetTable *replacements) { JDOC("(% dividend divisor)\n\n" "Returns the remainder of dividend / divisor.")); janet_quick_asm(env, JANET_FUN_NEXT, - "next", 2, 2, 2, 2, next_asm, sizeof(next_asm), + "next", 2, 1, 2, 2, next_asm, sizeof(next_asm), JDOC("(next ds &opt key)\n\n" "Gets the next key in a datastructure. Can be used to iterate through " "the keys of a data structure in an unspecified order. Keys are guaranteed "