diff --git a/packages/core/value.mjs b/packages/core/value.mjs index 38a5471b..ef98bc37 100644 --- a/packages/core/value.mjs +++ b/packages/core/value.mjs @@ -10,7 +10,7 @@ import { logger } from './logger.mjs'; export function unionWithObj(a, b, func) { if (b?.value !== undefined && Object.keys(b).length === 1) { // https://github.com/tidalcycles/strudel/issues/1026 - logger(`[warn]: dangerous arithmetic`); + logger(`[warn]: Can't do arithmetic on control pattern.`); return a; } const common = Object.keys(a).filter((k) => Object.keys(b).includes(k));