fix evalUnquotes rawHaxeBlock error
This commit is contained in:
@@ -532,7 +532,7 @@ class Helpers {
|
|||||||
public static function evalUnquotes(exp:ReaderExp, innerRunAtCompileTime:(ReaderExp)->Dynamic):ReaderExp {
|
public static function evalUnquotes(exp:ReaderExp, innerRunAtCompileTime:(ReaderExp)->Dynamic):ReaderExp {
|
||||||
var recurse = evalUnquotes.bind(_, innerRunAtCompileTime);
|
var recurse = evalUnquotes.bind(_, innerRunAtCompileTime);
|
||||||
var def = switch (exp.def) {
|
var def = switch (exp.def) {
|
||||||
case Symbol(_) | StrExp(_) | RawHaxe(_):
|
case Symbol(_) | StrExp(_) | RawHaxe(_) | RawHaxeBlock:
|
||||||
exp.def;
|
exp.def;
|
||||||
case CallExp(func, callArgs):
|
case CallExp(func, callArgs):
|
||||||
CallExp(recurse(func), evalUnquoteLists(callArgs, innerRunAtCompileTime).map(recurse));
|
CallExp(recurse(func), evalUnquoteLists(callArgs, innerRunAtCompileTime).map(recurse));
|
||||||
|
Reference in New Issue
Block a user