[Git][ghc/ghc][wip/T18371] Accept new test output for #17218

Sebastian Graf gitlab at gitlab.haskell.org
Wed Sep 23 12:50:15 UTC 2020



Sebastian Graf pushed to branch wip/T18371 at Glasgow Haskell Compiler / GHC


Commits:
5ab474b3 by Sebastian Graf at 2020-09-23T14:49:24+02:00
Accept new test output for #17218

The expected test output was plain wrong.
It has been fixed for a long time.
Thus we can close #17218.

- - - - -


2 changed files:

- testsuite/tests/pmcheck/should_compile/T17218.stderr
- testsuite/tests/pmcheck/should_compile/all.T


Changes:

=====================================
testsuite/tests/pmcheck/should_compile/T17218.stderr
=====================================
@@ -1,6 +1,4 @@
 
 T17218.hs:11:1: warning: [-Wincomplete-patterns (in -Wextra)]
     Pattern match(es) are non-exhaustive
-    In an equation for ‘f’:
-        Patterns not matched:
-            C
+    In an equation for ‘f’: Patterns not matched: P


=====================================
testsuite/tests/pmcheck/should_compile/all.T
=====================================
@@ -96,7 +96,7 @@ test('T17215', expect_broken(17215), compile,
      ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns'])
 test('T17216', expect_broken(17216), compile,
      ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns'])
-test('T17218', expect_broken(17218), compile,
+test('T17218', normal, compile,
      ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns'])
 test('T17219', expect_broken(17219), compile,
      ['-fwarn-incomplete-patterns -fwarn-overlapping-patterns'])



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5ab474b3fada3030bee7fc77026b90e234826658

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5ab474b3fada3030bee7fc77026b90e234826658
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200923/93fa88ed/attachment.html>


More information about the ghc-commits mailing list