diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2020-10-07 14:06:14 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-10-09 08:53:21 -0400 |
commit | ef950b19c04bc9c41920ecc9f94382653981d4bb (patch) | |
tree | 376288f99f961cb28736a9b966155a257269de2e /testsuite | |
parent | e5c7c9c8578de1248826c21ebd08e475d094a552 (diff) | |
download | haskell-ef950b19c04bc9c41920ecc9f94382653981d4bb.tar.gz |
Add TyCon Set/Env and use them in a few places.
Firstly this improves code clarity.
But it also has performance benefits as we no longer
go through the name of the TyCon to get at it's unique.
In order to make this work the recursion check for TyCon
has been moved into it's own module in order to avoid import
cycles.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/parser/should_run/CountParserDeps.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/parser/should_run/CountParserDeps.hs b/testsuite/tests/parser/should_run/CountParserDeps.hs index 5c7cb0eef3..bf84f2a0ac 100644 --- a/testsuite/tests/parser/should_run/CountParserDeps.hs +++ b/testsuite/tests/parser/should_run/CountParserDeps.hs @@ -28,7 +28,7 @@ main = do [libdir] <- getArgs modules <- parserDeps libdir let num = sizeUniqSet modules - max_num = 203 + max_num = 205 min_num = max_num - 10 -- so that we don't forget to change the number -- when the number of dependencies decreases -- putStrLn $ "Found " ++ show num ++ " parser module dependencies" |