allow unquoting into a meta expression

This commit is contained in:
2021-06-12 21:45:25 -06:00
parent 0ef46b06f0
commit 716149ef06

View File

@@ -354,6 +354,8 @@ class Helpers {
} else {
throw CompileError.fromExp(exp, "unquote didn't evaluate to a ReaderExp or ReaderExpDef");
};
case MetaExp(meta, innerExp):
MetaExp(meta, evalUnquotes(innerExp, k, args));
default:
throw CompileError.fromExp(exp, 'unquote evaluation not implemented');
};