[commit: ghc] ghc-7.8: Store IfExtNames for PatSyn matchers and wrappers in interface file. This way, the Ids for the matchers/wrappers are reused by importing modules, and thus unfoldings are kept. (e40bd13)

git at git.haskell.org git at git.haskell.org
Mon Jun 23 09:07:33 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/e40bd13b5b509b76d61ae66247ded145d4af93ea/ghc

>---------------------------------------------------------------

commit e40bd13b5b509b76d61ae66247ded145d4af93ea
Author: Dr. ERDI Gergo <gergo at erdi.hu>
Date:   Tue May 27 21:16:41 2014 +0800

    Store IfExtNames for PatSyn matchers and wrappers in interface file.
    This way, the Ids for the matchers/wrappers are reused by importing
    modules, and thus unfoldings are kept.
    
    Also updates haddock submodule to accomodate tweaks in PatSyn representation
    
    Conflicts:
    	compiler/typecheck/TcPatSyn.lhs
    	utils/haddock
    
    (cherry picked from commit e0fbf1e3bc062b7ce3f1c515a135fd9f3d49e2ee)


>---------------------------------------------------------------

e40bd13b5b509b76d61ae66247ded145d4af93ea
 compiler/basicTypes/PatSyn.lhs  | 103 +++++++++++++++++++++++++++++-----------
 compiler/coreSyn/CorePrep.lhs   |   1 +
 compiler/iface/BuildTyCl.lhs    |  81 ++++++++-----------------------
 compiler/iface/IfaceSyn.lhs     |  28 ++++++-----
 compiler/iface/LoadIface.lhs    |   3 +-
 compiler/iface/MkIface.lhs      |  13 ++---
 compiler/iface/TcIface.lhs      |  35 +++++---------
 compiler/main/HscTypes.lhs      |  20 ++++----
 compiler/main/TidyPgm.lhs       |   2 +-
 compiler/typecheck/TcPat.lhs    |   4 +-
 compiler/typecheck/TcPatSyn.lhs |  34 +++++++------
 11 files changed, 169 insertions(+), 155 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 e40bd13b5b509b76d61ae66247ded145d4af93ea


More information about the ghc-commits mailing list