This commit is contained in:
Felix Roos
2022-04-22 13:47:29 +02:00
parent 967a9bb4a4
commit 5e89d7ece9
+1 -1
View File
@@ -593,7 +593,7 @@ export class Pattern {
every(n, func) {
if (func instanceof Pattern) {
const p = func;
func = (x) => x.union(p);
func = (x) => x.set(p);
}
const pat = this;
const pats = Array(n - 1).fill(pat);