Commit e3383767 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo Committed by Ben Gamari
Browse files

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
parent 1af0d36b
...@@ -1698,7 +1698,7 @@ def normalise_callstacks(str): ...@@ -1698,7 +1698,7 @@ def normalise_callstacks(str):
def normalise_type_reps(str): def normalise_type_reps(str):
""" Normalise out fingerprints from Typeable TyCon representations """ """ 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 ', 'TyCon FINGERPRINT FINGERPRINT ',
str, str,
flags=re.MULTILINE) flags=re.MULTILINE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment