Coerce the contents of unquote-splice'd things to a list
This fixes the conversion issue in the following macro: (defmacro doodle [&rest body] `(do ~@body))
This commit is contained in:
parent
7a403a2660
commit
48dd968461
@ -610,7 +610,7 @@ class HyASTCompiler(object):
|
||||
level)
|
||||
imports.update(f_imports)
|
||||
if splice:
|
||||
to_add = f_contents
|
||||
to_add = HyExpression([HySymbol("list"), f_contents])
|
||||
else:
|
||||
to_add = HyList([f_contents])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user