[commit: ghc] ghc-8.0: Fix regression test for #11145. (cf38cec)

git at git.haskell.org git at git.haskell.org
Thu Mar 24 22:00:16 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/cf38cec25a963bf2faff7e0d51dbece040f80ee3/ghc

>---------------------------------------------------------------

commit cf38cec25a963bf2faff7e0d51dbece040f80ee3
Author: Dominik Bollmann <bollmann at seas.upenn.edu>
Date:   Thu Mar 24 10:11:46 2016 +0100

    Fix regression test for #11145.
    
    Test Plan: ./validate
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2032
    
    GHC Trac Issues: #11145
    
    (cherry picked from commit e57b9ffee858278bf1ef8ed0754346685334b9ba)


>---------------------------------------------------------------

cf38cec25a963bf2faff7e0d51dbece040f80ee3
 testsuite/tests/th/T11145.stderr | 2 +-
 testsuite/tests/th/all.T         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuite/tests/th/T11145.stderr b/testsuite/tests/th/T11145.stderr
index 98e518c..731349d 100644
--- a/testsuite/tests/th/T11145.stderr
+++ b/testsuite/tests/th/T11145.stderr
@@ -3,6 +3,6 @@ T11145.hs:8:1: error:
     • Data constructor ‘MkFuggle’ returns type ‘Fuggle
                                                   Int (Maybe Bool)’
         instead of an instance of its parent type ‘Fuggle
-                                                     Int (Maybe (a_a4MU, b_a4MV))’
+                                                     Int (Maybe (a, b))’
     • In the definition of data constructor ‘MkFuggle’
       In the data instance declaration for ‘Fuggle’
diff --git a/testsuite/tests/th/all.T b/testsuite/tests/th/all.T
index 2116606..d5124fe 100644
--- a/testsuite/tests/th/all.T
+++ b/testsuite/tests/th/all.T
@@ -399,4 +399,4 @@ test('T11345', normal, compile_and_run, ['-v0 -dsuppress-uniques'])
 test('TH_finalizer', normal, compile, ['-v0'])
 test('T10603', normal, compile, ['-ddump-splices -dsuppress-uniques'])
 test('T11452', normal, compile_fail, ['-v0'])
-test('T11145', normal, compile_fail, ['-v0'])
+test('T11145', normal, compile_fail, ['-v0 -dsuppress-uniques'])



More information about the ghc-commits mailing list