[commit: ghc] master: When using a GHC plugin, load its interface file very partially: just enough that it can be used, without its rules and instances affecting (and being linked from!) the module being compiled. (57d6798)
Simon Peyton Jones <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <[email protected]> |
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/57d6798353f53850943e361f4707db76c76dc38f >--------------------------------------------------------------- commit 57d6798353f53850943e361f4707db76c76dc38f Author: Daniel Vainsencher <[email protected]> Date: Mon Nov 26 11:18:50 2012 +0000 When using a GHC plugin, load its interface file very partially: just enough that it can be used, without its rules and instances affecting (and being linked from!) the module being compiled. compiler/iface/LoadIface.lhs | 92 +++++++++++++++++++++++--------------- compiler/main/DynamicLoading.hs | 7 +-- compiler/typecheck/TcRnTypes.lhs | 3 + 3 files changed, 62 insertions(+), 40 deletions(-) Diff suppressed because of size. To see it, use: git show 57d6798353f53850943e361f4707db76c76dc38f