[commit: ghc] master: Fix normalisation of TyCon representations (e338376)

git at git.haskell.org git at git.haskell.org
Thu Dec 24 17:13:58 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/e33837677fc4d1d9bd6fdad4e9fd8c61a639f52e/ghc

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

commit e33837677fc4d1d9bd6fdad4e9fd8c61a639f52e
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Thu Dec 24 14:41:53 2015 +0100

    Fix normalisation of TyCon representations
    
    Test Plan: run tests on powerpc and x86_64
    
    Reviewers: hvr, austin, thomie, bgamari
    
    Reviewed By: thomie, bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1694


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

e33837677fc4d1d9bd6fdad4e9fd8c61a639f52e
 testsuite/driver/testlib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index 33e134d..44eebd6 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -1698,7 +1698,7 @@ def normalise_callstacks(str):
 
 def normalise_type_reps(str):
     """ Normalise out fingerprints from Typeable TyCon representations """
-    return re.sub(r'TyCon\s*\d+\#\#\s*\d+\#\#\s*',
+    return re.sub(r'TyCon\s*\d+L?\#\#\s*\d+L?\#\#\s*',
                   'TyCon FINGERPRINT FINGERPRINT ',
                   str,
                   flags=re.MULTILINE)



More information about the ghc-commits mailing list