Skip to content

Commit

Permalink
[lazy] only coerce LazySeq to seq in analyze, fixing evaluation of ()
Browse files Browse the repository at this point in the history
  • Loading branch information
richhickey committed Feb 12, 2009
1 parent baddfb3 commit 795925c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jvm/clojure/lang/Compiler.java
Expand Up @@ -3972,7 +3972,7 @@ private static Expr analyze(C context, Object form, String name) throws Exceptio
//todo symbol macro expansion?
try
{
if(form instanceof Sequence)
if(form instanceof LazySeq)
form = RT.seq(form);
if(form == null)
return NIL_EXPR;
Expand Down

0 comments on commit 795925c

Please sign in to comment.