From 004d49dc5fc2a38aa1485dcd799dfe7cfd33902e Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Mon, 18 Oct 2021 19:16:22 +0200 Subject: Add rule110 to the examples --- src/bootstrap/primitives.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/bootstrap/primitives.c') diff --git a/src/bootstrap/primitives.c b/src/bootstrap/primitives.c index 7ac9bf7..9960688 100644 --- a/src/bootstrap/primitives.c +++ b/src/bootstrap/primitives.c @@ -124,11 +124,13 @@ eval_lambda: return obj_err; } if (value == obj_nil) { - error_push((Error){ - .type = ERR_TYPE_RUNTIME, - .value = ERR_NOT_ENOUGH_ARGS, - }); - return obj_err; + // Need to reconsider this, it can cause issues when + // arguments contain a random nil + // error_push((Error){ + // .type = ERR_TYPE_RUNTIME, + // .value = ERR_NOT_ENOUGH_ARGS, + // }); + // return obj_err; } env_add_or_update_current(tmp, symbol, value); args = args->cdr; -- cgit v1.2.1