summaryrefslogtreecommitdiff
path: root/testsuite/driver/testlib.py
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-10-12 18:43:46 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-02 07:32:12 -0500
commit85d899c8d319a4bf4c386df9b7964b29ac0fbd38 (patch)
tree7267559b88f844a12746ead53eca69f0c1a0a287 /testsuite/driver/testlib.py
parent9b563330203e209f5e0b687108f08ddf0d2f3177 (diff)
downloadhaskell-85d899c8d319a4bf4c386df9b7964b29ac0fbd38.tar.gz
Make proper fixed-width number literals
(Progress towards #11953, #17377, #17375) Besides being nicer to use, this also will allow for better constant folding for the fixed-width types, on par with what `Int#` and `Word#` have today.
Diffstat (limited to 'testsuite/driver/testlib.py')
-rw-r--r--testsuite/driver/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index cfc65d38d6..7ea68435df 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -2163,7 +2163,7 @@ def normalise_callstacks(s: str) -> str:
s = re.sub(r'CallStack \(from -prof\):(\n .*)*\n?', '', s)
return s
-tyCon_re = re.compile(r'TyCon\s*\d+L?\#\#(64)?\s*\d+L?\#\#(64)?\s*', flags=re.MULTILINE)
+tyCon_re = re.compile(r'TyCon\s*\d+\#\#\d?\d?\s*\d+\#\#\d?\d?\s*', flags=re.MULTILINE)
def normalise_type_reps(s: str) -> str:
""" Normalise out fingerprints from Typeable TyCon representations """