diff options
author | Tom Ellis <tom-git@jaguarpaw.co.uk> | 2020-11-26 19:01:03 +0000 |
---|---|---|
committer | Tom Ellis <tom-git@jaguarpaw.co.uk> | 2020-12-19 10:18:55 +0000 |
commit | 32b6ebe8efd45a32ebe3696f32ac3d84a9e8e30c (patch) | |
tree | 8a6177969e315658e3b114875e97d07b69e5b424 /testsuite/tests/deSugar | |
parent | 366b58858a773fe03d7b7ba93ba9d8287b901229 (diff) | |
download | haskell-32b6ebe8efd45a32ebe3696f32ac3d84a9e8e30c.tar.gz |
Add two warnings to -Wall
* -Wincomplete-uni-patterns
* -Wincomplete-record-updates
See https://gitlab.haskell.org/ghc/ghc/-/issues/15656
Diffstat (limited to 'testsuite/tests/deSugar')
-rw-r--r-- | testsuite/tests/deSugar/should_compile/DsStrictWarn.stderr | 2 | ||||
-rw-r--r-- | testsuite/tests/deSugar/should_compile/T5455.stderr | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/deSugar/should_compile/DsStrictWarn.stderr b/testsuite/tests/deSugar/should_compile/DsStrictWarn.stderr index a7c76fff44..8dedef3b5d 100644 --- a/testsuite/tests/deSugar/should_compile/DsStrictWarn.stderr +++ b/testsuite/tests/deSugar/should_compile/DsStrictWarn.stderr @@ -1,4 +1,4 @@ -DsStrictWarn.hs:7:11: warning: [-Wincomplete-uni-patterns] +DsStrictWarn.hs:7:11: warning: [-Wincomplete-uni-patterns (in -Wall)] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘String’ not matched: [] diff --git a/testsuite/tests/deSugar/should_compile/T5455.stderr b/testsuite/tests/deSugar/should_compile/T5455.stderr index ff2b578c65..4bff3560e4 100644 --- a/testsuite/tests/deSugar/should_compile/T5455.stderr +++ b/testsuite/tests/deSugar/should_compile/T5455.stderr @@ -1,8 +1,8 @@ -T5455.hs:8:11: warning: [-Wincomplete-uni-patterns] +T5455.hs:8:11: warning: [-Wincomplete-uni-patterns (in -Wall)] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘String’ not matched: [] -T5455.hs:13:13: warning: [-Wincomplete-uni-patterns] +T5455.hs:13:13: warning: [-Wincomplete-uni-patterns (in -Wall)] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘String’ not matched: [] |