allow unquoting into a meta expression
This commit is contained in:
@@ -354,6 +354,8 @@ class Helpers {
|
|||||||
} else {
|
} else {
|
||||||
throw CompileError.fromExp(exp, "unquote didn't evaluate to a ReaderExp or ReaderExpDef");
|
throw CompileError.fromExp(exp, "unquote didn't evaluate to a ReaderExp or ReaderExpDef");
|
||||||
};
|
};
|
||||||
|
case MetaExp(meta, innerExp):
|
||||||
|
MetaExp(meta, evalUnquotes(innerExp, k, args));
|
||||||
default:
|
default:
|
||||||
throw CompileError.fromExp(exp, 'unquote evaluation not implemented');
|
throw CompileError.fromExp(exp, 'unquote evaluation not implemented');
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user