diff --git a/hy/compiler.py b/hy/compiler.py index 362e9c8..19a68df 100644 --- a/hy/compiler.py +++ b/hy/compiler.py @@ -157,7 +157,7 @@ class HyASTCompiler(object): ret = [] - if self.returnable and len(tree) > 0: + if self.returnable: el = tree[0] if not isinstance(el, ast.stmt): el = tree.pop(0)