Allow bool result in evalUnquotes

This commit is contained in:
2022-12-11 23:23:59 +00:00
parent d357e3705d
commit efd486c32d

View File

@@ -527,6 +527,8 @@ class Helpers {
ListExp(listExps).withPosOf(source);
} else if (Std.isOfType(e, Float) || Std.isOfType(e, Int)) {
Symbol(Std.string(e)).withPosOf(source);
} else if (Std.isOfType(e, Bool)) {
Symbol(Std.string(e)).withPosOf(source);
} else if (Std.isOfType(e, String)) {
var s:String = e;
StrExp(s).withPosOf(source);