diff --git a/hy/compiler.py b/hy/compiler.py index 93e6526..28fb57c 100644 --- a/hy/compiler.py +++ b/hy/compiler.py @@ -1645,15 +1645,15 @@ class HyASTCompiler(object): @builds(HyExpression) def compile_expression(self, expression): - if expression == []: - return self.compile_list(expression) - # Perform macro expansions expression = macroexpand(expression, self.module_name) if not isinstance(expression, HyExpression): # Go through compile again if the type changed. return self.compile(expression) + if expression == []: + return self.compile_list(expression) + fn = expression[0] func = None if isinstance(fn, HyKeyword):