aboutsummaryrefslogtreecommitdiffstats
path: root/src/flatten.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/flatten.cpp')
-rw-r--r--src/flatten.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/flatten.cpp b/src/flatten.cpp
index 613403b..dfbd7a3 100644
--- a/src/flatten.cpp
+++ b/src/flatten.cpp
@@ -172,8 +172,7 @@ resp_flatten(CEnv& cenv, Code& code, const AST* ast) throw()
const ASymbol* const sym = call->fst()->to_symbol();
const std::string form = sym ? sym->sym() : "";
assert(form != "fn");
- if (form == "cast"
- || form == "quote")
+ if (form == "quote")
return ast;
else if (form == "def")
return flatten_def(cenv, code, call);