on master help sign in
typo: add missing word in a couple type error messages

fix https://github.com/elm/compiler/pull/1842

commit8e1ee22a73ca2ed976b386f43dbcf7a36da809e8 authorEvan Czaplicki <evancz@users.noreply.github.com> dateMon 8 Jul 2019, 13:57 (7 years ago) parent1a90acd
1 file changed+2−2
compiler/src/Reporting/Error/Type.hs+2−2
compiler/src/Reporting/Error/Type.hs+2−2
@@ -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