diff options
Diffstat (limited to 'src/repl.cpp')
-rw-r--r-- | src/repl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repl.cpp b/src/repl.cpp index 02a2a8e..81035bb 100644 --- a/src/repl.cpp +++ b/src/repl.cpp @@ -139,10 +139,10 @@ eval(CEnv& cenv, Cursor& cursor, istream& is, bool execute) if (call && is_form(call, "def") && is_form(call->list_ref(2), "fn")) { val = resp_compile(cenv, call); } else { - assert(*i); const ATuple* tup = (*i)->to_tuple(); - if (!tup || (tup->tup_len() > 0)) + if (!tup || !tup->empty()) { exprs.push_back(*i); + } } } |