on master help sign in
Merge pull request #2150 from andrii-maglovanyi/master

fix: typo This pattern does not cover all possiblities

commit5372b245732273cc425151e50c04cca22b73bd63 authorEvan Czaplicki <evancz@users.noreply.github.com> dateWed 3 Feb 2021, 14:23 (6 years ago) parent7883fe99db4df2
1 file changed+2−2
compiler/src/Reporting/Error/Pattern.hs+2−2
compiler/src/Reporting/Error/Pattern.hs+2−2
@@ -41,7 +41,7 @@ toReport source err =
4141 Report.Report "UNSAFE PATTERN" region [] $
4242 Code.toSnippet source region Nothing
4343 (
44− "This pattern does not cover all possiblities:"
44+ "This pattern does not cover all possibilities:"
4545 ,
4646 D.stack
4747 [ "Other possibilities include:"
@@ -64,7 +64,7 @@ toReport source err =
6464 , unhandledPatternsToDocBlock unhandled
6565 , D.reflow $
6666 "I would have to crash if I saw one of those! You can use\
67− \ `let` to deconstruct values only if there is ONE possiblity.\
67+ \ `let` to deconstruct values only if there is ONE possibility.\
6868 \ Switch to a `case` expression to account for all possibilities."
6969 , D.toSimpleHint $
7070 "Are you calling a function that definitely returns values\