aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
Diffstat (limited to 'c')
-rw-r--r--c/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/core.c b/c/core.c
index 2a447e5..33bb991 100644
--- a/c/core.c
+++ b/c/core.c
@@ -182,6 +182,8 @@ MalVal *get(MalVal *obj, MalVal *key) {
} else {
return &mal_nil;
}
+ case MAL_NIL:
+ return &mal_nil;
default:
abort("get called on unsupported type %d", obj->type);
}