diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2021-03-04 18:05:14 +0000 |
---|---|---|
committer | Ryan Scott <ryan.gl.scott@gmail.com> | 2021-04-16 15:03:08 -0400 |
commit | e13ad2cb1cdc7bb67f582a87af6f3631fd11eef7 (patch) | |
tree | d4ef9964dadd912d9e54e342ce9df19684cb6e99 /testsuite/tests/quantified-constraints/T17267e.stderr | |
parent | 232a44de1fa1261316691cdec0a57840b908c942 (diff) | |
download | haskell-e13ad2cb1cdc7bb67f582a87af6f3631fd11eef7.tar.gz |
Fixes to dealing with the export of mainwip/T19397-backport
It's surprisingly tricky to deal with 'main' (#19397). This
patch does quite bit of refactoring do to it right. Well,
more-right anyway!
The moving parts are documented in GHC.Tc.Module
Note [Dealing with main]
Some other oddments:
* Rename tcRnExports to rnExports; no typechecking here!
* rnExports now uses checkNoErrs rather than failIfErrsM;
the former fails only if rnExports itself finds errors
* Small improvements to tcTyThingCategory, which ultimately
weren't important to the patch, but I've retained as
a minor improvement.
Diffstat (limited to 'testsuite/tests/quantified-constraints/T17267e.stderr')
-rw-r--r-- | testsuite/tests/quantified-constraints/T17267e.stderr | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/testsuite/tests/quantified-constraints/T17267e.stderr b/testsuite/tests/quantified-constraints/T17267e.stderr index b497fa1009..f94ba1e872 100644 --- a/testsuite/tests/quantified-constraints/T17267e.stderr +++ b/testsuite/tests/quantified-constraints/T17267e.stderr @@ -1,7 +1,4 @@ -T17267e.hs:1:1: error: - The IO action ‘main’ is not defined in module ‘Main’ - T17267e.hs:16:14: error: • Reduction stack overflow; size = 201 When simplifying the following type: Show a |