diff options
author | David Feuer <david.feuer@gmail.com> | 2018-01-15 12:38:29 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-01-15 13:53:46 -0500 |
commit | 492e6044577519b59f390008362de98e9517e04d (patch) | |
tree | f2306fd7a7ed45c229a621796b311c91de7f3a1a /testsuite | |
parent | d1ac1c337c5d200fe8a885b42d334c74fb083c2e (diff) | |
download | haskell-492e6044577519b59f390008362de98e9517e04d.tar.gz |
Kill off irrefutable pattern errors
Distinguishing between "refutable" and "irrefutable" patterns
(as described by the Haskell Report) in incomplete pattern errors
was more confusing than helpful. Remove references to irrefutable
patterns.
Reviewers: hvr, bgamari, simonpj
Reviewed By: simonpj
Subscribers: simonpj, rwbarton, thomie, carter
GHC Trac Issues: #14569
Differential Revision: https://phabricator.haskell.org/D4261
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/deSugar/should_fail/DsStrictFail.stderr | 2 | ||||
-rw-r--r-- | testsuite/tests/deSugar/should_run/dsrun008.stderr | 2 | ||||
-rw-r--r-- | testsuite/tests/safeHaskell/safeLanguage/SafeLang15.stderr | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/deSugar/should_fail/DsStrictFail.stderr b/testsuite/tests/deSugar/should_fail/DsStrictFail.stderr index c7135b2a27..a863168277 100644 --- a/testsuite/tests/deSugar/should_fail/DsStrictFail.stderr +++ b/testsuite/tests/deSugar/should_fail/DsStrictFail.stderr @@ -1,2 +1,2 @@ -DsStrictFail: DsStrictFail.hs:4:12-23: Irrefutable pattern failed for pattern False +DsStrictFail: DsStrictFail.hs:4:12-23: Non-exhaustive patterns in False diff --git a/testsuite/tests/deSugar/should_run/dsrun008.stderr b/testsuite/tests/deSugar/should_run/dsrun008.stderr index ff7de054f2..cef2458b1e 100644 --- a/testsuite/tests/deSugar/should_run/dsrun008.stderr +++ b/testsuite/tests/deSugar/should_run/dsrun008.stderr @@ -1,2 +1,2 @@ -dsrun008: dsrun008.hs:2:15-42: Irrefutable pattern failed for pattern (2, x) +dsrun008: dsrun008.hs:2:15-42: Non-exhaustive patterns in (2, x) diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang15.stderr b/testsuite/tests/safeHaskell/safeLanguage/SafeLang15.stderr index 5aed2c55ef..9434e29c30 100644 --- a/testsuite/tests/safeHaskell/safeLanguage/SafeLang15.stderr +++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang15.stderr @@ -1,2 +1,2 @@ -SafeLang15: SafeLang15.hs:22:9-37: Irrefutable pattern failed for pattern Just p' +SafeLang15: SafeLang15.hs:22:9-37: Non-exhaustive patterns in Just p' |