more precise (case) allows (or) result for the object being tested

This commit is contained in:
2021-06-12 21:30:22 -06:00
parent 5a4686d977
commit 0ef46b06f0

View File

@@ -260,7 +260,7 @@ class SpecialForms {
default:
null;
};
ESwitch(k.forCaseParsing().convert(args[0]), args.slice(1).map(Helpers.makeSwitchCase.bind(_, k)), defaultExpr).withMacroPosOf(wholeExp);
ESwitch(k.withoutListWrapping().convert(args[0]), args.slice(1).map(Helpers.makeSwitchCase.bind(_, k)), defaultExpr).withMacroPosOf(wholeExp);
};
// Type check syntax: