From 078369bffd71c68c8cea060e977e2389643acbc5 Mon Sep 17 00:00:00 2001 From: Matt McHenry Date: Wed, 17 Oct 2018 22:17:53 -0400 Subject: [PATCH] fix mistaken repeat of word "matching" in error message --- compiler/src/Reporting/Error/Canonicalize.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/Reporting/Error/Canonicalize.hs b/compiler/src/Reporting/Error/Canonicalize.hs index e11dac04a..df3e57a53 100644 --- a/compiler/src/Reporting/Error/Canonicalize.hs +++ b/compiler/src/Reporting/Error/Canonicalize.hs @@ -523,7 +523,7 @@ toReport source err = <> "` as a function, but it is not available in pattern matching like this:" , D.reflow $ - "I recommend matching matching the record as a variable and unpacking it later." + "I recommend matching the record as a variable and unpacking it later." ) PortPayloadInvalid region portName _badType invalidPayload ->