diff options
| author | Joel Martin <github@martintribe.org> | 2014-04-06 16:24:27 -0500 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2014-04-06 16:24:27 -0500 |
| commit | b079f51028571bc603b8d43761c29ff56273bffc (patch) | |
| tree | 98e9375fa15667ae6138794a2789215a06148713 /c | |
| parent | 406d1370fac05bb01df8bee7678453689cd88228 (diff) | |
| download | mal-b079f51028571bc603b8d43761c29ff56273bffc.tar.gz mal-b079f51028571bc603b8d43761c29ff56273bffc.zip | |
C,PHP,Python: stepA fixup. All tests/impls pass!
Diffstat (limited to 'c')
| -rw-r--r-- | c/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -359,7 +359,8 @@ MalVal *with_meta(MalVal *obj, MalVal *meta) { } MalVal *meta(MalVal *obj) { - assert_type(obj, MAL_LIST|MAL_VECTOR|MAL_HASH_MAP|MAL_FUNCTION_C|MAL_FUNCTION_MAL, + assert_type(obj, MAL_LIST|MAL_VECTOR|MAL_HASH_MAP| + MAL_FUNCTION_C|MAL_FUNCTION_MAL|MAL_ATOM, "attempt to get metadata from non-collection type"); if (obj->metadata == NULL) { return &mal_nil; |
