summaryrefslogtreecommitdiff
path: root/compiler/typecheck/TcRnDriver.hs
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2018-10-28 12:36:15 -0400
committerBen Gamari <ben@smart-cactus.org>2018-10-28 13:40:14 -0400
commit49f5c6c33a6668152f0fb306075c891f317249d7 (patch)
tree7acaa0aa0de8a2e85795b071af38e61e814ba34f /compiler/typecheck/TcRnDriver.hs
parente69590f1bdbbb605921f125050929c7b84f00d28 (diff)
downloadhaskell-49f5c6c33a6668152f0fb306075c891f317249d7.tar.gz
Plugins: Add documentation and missing exports
Summary: Previously the TcPlugin and CorePlugin type synonyms were not exporting, resulting in much confusion. Reviewers: mpickering Reviewed By: mpickering Subscribers: rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5237
Diffstat (limited to 'compiler/typecheck/TcRnDriver.hs')
-rw-r--r--compiler/typecheck/TcRnDriver.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/typecheck/TcRnDriver.hs b/compiler/typecheck/TcRnDriver.hs
index 1c04327bae..a0a837e886 100644
--- a/compiler/typecheck/TcRnDriver.hs
+++ b/compiler/typecheck/TcRnDriver.hs
@@ -2821,7 +2821,7 @@ withTcPlugins hsc_env m =
do s <- runTcPluginM start ev_binds_var
return (solve s, stop s)
-getTcPlugins :: DynFlags -> [TcPlugin]
+getTcPlugins :: DynFlags -> [TcRnMonad.TcPlugin]
getTcPlugins dflags = catMaybes $ map get_plugin (plugins dflags)
where get_plugin p = tcPlugin (lpPlugin p) (lpArguments p)