diff options
author | Ben Gamari <ben@smart-cactus.org> | 2017-03-02 21:34:51 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-03-03 09:24:47 -0500 |
commit | ca538b84e78b2b58161ca4c0910a65937c374b9c (patch) | |
tree | 3b3cb0acc089a087b83020e9c784a73a499bd85a /testsuite/tests/pmcheck | |
parent | 0d2f733050ff656b827351108d988e09abc363fc (diff) | |
download | haskell-ca538b84e78b2b58161ca4c0910a65937c374b9c.tar.gz |
testsuite: Fix output due to recent COMPLETE changes
It's unclear why this didn't show up in my initial local validation. Oh
well.
Diffstat (limited to 'testsuite/tests/pmcheck')
-rw-r--r-- | testsuite/tests/pmcheck/complete_sigs/completesig04.stderr | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig04.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig04.stderr index b72cf6e9b4..de990c7fa9 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig04.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig04.stderr @@ -1,4 +1,6 @@ completesig04.hs:3:1: error: - • Cannot form a group of complete patterns from patterns ‘Just’ and ‘Left’ as they match different type constructors (‘Maybe’ resp. ‘Either’) + • Orphan COMPLETE pragmas not supported + A COMPLETE pragma must mention at least one data constructor + or pattern synonym defined in the same module. • In {-# COMPLETE Just, Left #-} |