diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-10-12 18:43:46 +0200 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-12-30 15:30:19 +0000 |
commit | 84cd0051d14752eb8f6b94f2e3b02706cba42742 (patch) | |
tree | ca5e6dad1b53a3982a2644cdc132b22408b55aff /testsuite/driver/testlib.py | |
parent | cbc7c3dda6bdf4acb760ca9eb545faeb98ab0dbe (diff) | |
download | haskell-wip/fixed-width-lits.tar.gz |
Make proper fixed-width number literalswip/fixed-width-lits
(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.py | 2 |
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 """ |