summaryrefslogtreecommitdiff
path: root/compiler/rename/RnNames.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2016-12-19 15:05:57 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2016-12-21 12:26:24 +0000
commitf97d489911aabd2396f5df87efd7d1d164017142 (patch)
treea2df022d5e3b50526fe98b40452491ced559332f /compiler/rename/RnNames.hs
parent1771da25fee524c58973c3e6bfbd721f708769c7 (diff)
downloadhaskell-f97d489911aabd2396f5df87efd7d1d164017142.tar.gz
Test Trac #12968, plus some comments
Diffstat (limited to 'compiler/rename/RnNames.hs')
-rw-r--r--compiler/rename/RnNames.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rename/RnNames.hs b/compiler/rename/RnNames.hs
index 8da11bed1c..8a7529da1c 100644
--- a/compiler/rename/RnNames.hs
+++ b/compiler/rename/RnNames.hs
@@ -1147,6 +1147,8 @@ warnUnusedImportDecls gbl_env
printMinimalImports usage }
-- | Warn the user about top level binders that lack type signatures.
+-- Called /after/ type inference, so that we can report the
+-- inferred type of the function
warnMissingSignatures :: TcGblEnv -> RnM ()
warnMissingSignatures gbl_env
= do { let exports = availsToNameSet (tcg_exports gbl_env)