From 0f2a32909c081f59c805c65f214f92a26559e32d Mon Sep 17 00:00:00 2001 From: teo3300 Date: Mon, 28 Jul 2025 16:58:54 +0900 Subject: [PATCH] Nooooooo --- src/env.rs | 2 +- test.mal | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 test.mal diff --git a/src/env.rs b/src/env.rs index 522aa70..aa33e91 100644 --- a/src/env.rs +++ b/src/env.rs @@ -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")); } diff --git a/test.mal b/test.mal deleted file mode 100644 index 78ba0bf..0000000 --- a/test.mal +++ /dev/null @@ -1 +0,0 @@ -(println *ARGV*)