From a7e2b86d230f1c9d7b5c079e742801e433b25a36 Mon Sep 17 00:00:00 2001 From: "Mark S. Miller" Date: Mon, 10 Oct 2022 14:24:52 -0700 Subject: [PATCH] fix: wrong passStyle --- packages/store/src/patterns/patternMatchers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/store/src/patterns/patternMatchers.js b/packages/store/src/patterns/patternMatchers.js index 207e0e8201ce..9534426c1283 100644 --- a/packages/store/src/patterns/patternMatchers.js +++ b/packages/store/src/patterns/patternMatchers.js @@ -1738,7 +1738,7 @@ const makePatternKit = () => { [requiredPatt, optionalPatt = {}, restPatt = MM.any()], compress, ) => { - if (!checkKind(specimen, 'copyArray', identChecker)) { + if (!checkKind(specimen, 'copyRecord', identChecker)) { return undefined; } const { requiredSpecimen, optionalSpecimen, restSpecimen } =