diff options
| author | Joel Martin <github@martintribe.org> | 2014-04-15 01:24:43 -0500 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2014-04-15 01:24:43 -0500 |
| commit | 7e9a2883fe5c25a521b1dc37e4c549e1ed508ece (patch) | |
| tree | b444224dae6db978d4b5902f2a5b37046ba40d3e /c | |
| parent | a2849f89e7892feee256169398b1d2d82a2b8231 (diff) | |
| download | mal-7e9a2883fe5c25a521b1dc37e4c549e1ed508ece.tar.gz mal-7e9a2883fe5c25a521b1dc37e4c549e1ed508ece.zip | |
All: fix get. All pass stepA tests.
Diffstat (limited to 'c')
| -rw-r--r-- | c/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |
