diff options
author | David Luposchainsky <dluposchainsky@gmail.com> | 2015-11-18 12:23:57 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-11-18 12:53:51 +0100 |
commit | 3ee0c143a7e3e474c2c8511174702ccb8441f8d9 (patch) | |
tree | a9b43214c982b74922da9cfee6fd73d1fcb267eb /testsuite/tests/driver/T4437.hs | |
parent | 112ce87444362f9f09e6a9ccf532f2ab5d80ad81 (diff) | |
download | haskell-3ee0c143a7e3e474c2c8511174702ccb8441f8d9.tar.gz |
Improve MonadFail errors by mentioning the pattern
Example error message:
MonadFailErrors.hs:16:5: error:
Could not deduce (MonadFail m)
arising from a do statement
with the failable pattern ‘Just x’
Depends on D1248
Reviewers: austin, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1489
Diffstat (limited to 'testsuite/tests/driver/T4437.hs')
-rw-r--r-- | testsuite/tests/driver/T4437.hs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/testsuite/tests/driver/T4437.hs b/testsuite/tests/driver/T4437.hs index d3bee2a61a..5c087311cc 100644 --- a/testsuite/tests/driver/T4437.hs +++ b/testsuite/tests/driver/T4437.hs @@ -34,7 +34,6 @@ expectedGhcOnlyExtensions = ["RelaxedLayout", "AlternativeLayoutRule", "AlternativeLayoutRuleTransitional", "OverloadedLabels", - "Strict", "MonadFailDesugaring"] expectedCabalOnlyExtensions :: [String] |