[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. (1501027)

git at git.haskell.org git at git.haskell.org
Thu Jul 3 22:26:09 UTC 2014


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

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

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

commit 15010272ca6c9f77121e86b5f65f87e1698537b7
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
    
    (cherry picked from commit ac2796e6ddbd54c5762c53e2fcf29f20ea162fd5)
    
    Conflicts:
    	utils/haddock


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

15010272ca6c9f77121e86b5f65f87e1698537b7
 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 |  89 ++++++++--------------------------
 11 files changed, 169 insertions(+), 210 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 15010272ca6c9f77121e86b5f65f87e1698537b7


More information about the ghc-commits mailing list