Skip to content

Commit 8e1ee22

Browse files
committed
typo: add missing word in a couple type error messages
fix #1842
1 parent 1a90acd commit 8e1ee22

File tree

1 file changed

+2
-2
lines changed
  • compiler/src/Reporting/Error

1 file changed

+2
-2
lines changed

compiler/src/Reporting/Error/Type.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ opRightToDocs localizer category op tipe expected =
10771077
( D.reflow $ "I cannot send this through the (<|) pipe:"
10781078
, typeComparison localizer tipe expected
10791079
"The argument is:"
1080-
"But (<|) is piping it a function that expects:"
1080+
"But (<|) is piping it to a function that expects:"
10811081
[]
10821082
)
10831083

@@ -1088,7 +1088,7 @@ opRightToDocs localizer category op tipe expected =
10881088
( D.reflow $ "This function cannot handle the argument sent through the (|>) pipe:"
10891089
, typeComparison localizer argType expectedArgType
10901090
"The argument is:"
1091-
"But (|>) is piping it a function that expects:"
1091+
"But (|>) is piping it to a function that expects:"
10921092
[]
10931093
)
10941094

0 commit comments

Comments
 (0)