Skip to content

Commit

Permalink
Missing arity check
Browse files Browse the repository at this point in the history
  • Loading branch information
ajreynol committed Jun 4, 2024
1 parent 6f041db commit da19032
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/type_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ bool TypeChecker::checkArity(Kind k, size_t nargs, std::ostream* out)
case Kind::EVAL_REQUIRES:
case Kind::EVAL_IF_THEN_ELSE:
case Kind::EVAL_CONS:
case Kind::EVAL_LIST_FIND:
case Kind::EVAL_LIST_NTH:
ret = (nargs==3);
break;
Expand Down

0 comments on commit da19032

Please sign in to comment.