This commit is contained in:
teo3300
2025-07-28 16:58:54 +09:00
parent 8d704792b1
commit 0f2a32909c
2 changed files with 1 additions and 2 deletions

View File

@ -127,7 +127,7 @@ pub fn call_func(func: &MalType, args: &[MalType]) -> CallRet {
_ => Err(MalErr::unrecoverable("Map argument must be string or key")),
}
}
M::Vector(v) => {
M::Vector(v) | M::List(v) => {
if args.is_empty() {
return Err(MalErr::unrecoverable("No key provided to Vector construct"));
}

View File

@ -1 +0,0 @@
(println *ARGV*)