diff --git a/lang/func.c b/lang/func.c index ac89cc5..27f1612 100644 --- a/lang/func.c +++ b/lang/func.c @@ -19,8 +19,6 @@ static void func_call(VmState state, Object obj) { (void)obj; - int arg_count = vm_stack_depth(state); - abort_if(arg_count != 1, "func_add called with more than 1 argument"); // clang-format off static const unsigned char bytecode[] = { 0x09, 0x01, 0x05, 0x05, 0x05, 0x01, 0x6a, 0x02, 0x00, 0x00,