[commit: ghc] wip/tc-plugins-amg: Move withTcPlugins to TcRnDriver, removing need for hs-boot file (1ed1e63)
git at git.haskell.org
git at git.haskell.org
Tue Nov 11 12:16:26 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/tc-plugins-amg
Link : http://ghc.haskell.org/trac/ghc/changeset/1ed1e63906e99f9b74fb2629af01bfac04e3c6bb/ghc
>---------------------------------------------------------------
commit 1ed1e63906e99f9b74fb2629af01bfac04e3c6bb
Author: Adam Gundry <adam at well-typed.com>
Date: Tue Nov 11 09:47:01 2014 +0000
Move withTcPlugins to TcRnDriver, removing need for hs-boot file
This makes the caller of initTc responsible for loading plugins if
required, rather than passing a boolean flag indicating whether to
load them. Hence withTcPlugins can move to TcRnDriver, avoiding
the need for DynamicLoading.hs-boot.
>---------------------------------------------------------------
1ed1e63906e99f9b74fb2629af01bfac04e3c6bb
compiler/ghc.mk | 12 +----
compiler/ghci/RtClosureInspect.hs | 2 +-
compiler/main/DynamicLoading.hs-boot | 12 -----
compiler/typecheck/TcRnDriver.lhs | 79 +++++++++++++++++++++++++++--
compiler/typecheck/TcRnMonad.lhs | 96 ++++--------------------------------
5 files changed, 88 insertions(+), 113 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 1ed1e63906e99f9b74fb2629af01bfac04e3c6bb
More information about the ghc-commits
mailing list