fix: all function in mondo

This commit is contained in:
Felix Roos 2025-09-21 16:06:28 +02:00
parent 3fff4609a0
commit 8833d623f7
No known key found for this signature in database

View file

@ -85,7 +85,7 @@ function evaluator(node, scope) {
let pat;
if (type === 'plain' && typeof variable !== 'undefined') {
// some function names are not patternable, so we skip reification here
if (['!', 'extend', '@', 'expand', 'square', 'angle'].includes(value)) {
if (['!', 'extend', '@', 'expand', 'square', 'angle', 'all'].includes(value)) {
return variable;
}
pat = reify(variable);