[commit: ghc] wip/th-new: Add full support for declaration splices. (5246e12)

git at git.haskell.org git
Fri Oct 4 21:48:23 UTC 2013


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

On branch  : wip/th-new
Link       : http://ghc.haskell.org/trac/ghc/changeset/5246e123b2877ee69ad26e8b14cbac5feb0ec7ca/ghc

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

commit 5246e123b2877ee69ad26e8b14cbac5feb0ec7ca
Author: Geoffrey Mainland <mainland at apeiron.net>
Date:   Mon May 20 11:37:59 2013 +0100

    Add full support for declaration splices.
    
    Since declaration splices are now untyped, they can be used anywhere a
    declaration is valid, including in declaration brackets.


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

5246e123b2877ee69ad26e8b14cbac5feb0ec7ca
 compiler/hsSyn/HsDecls.lhs           |   16 +++++++---
 compiler/hsSyn/HsExpr.lhs            |    2 ++
 compiler/parser/Parser.y.pp          |   34 +++++++++++++--------
 compiler/parser/RdrHsSyn.lhs         |   12 +++++---
 compiler/rename/RnSource.lhs         |    7 ++++-
 compiler/rename/RnSplice.lhs         |   56 ++++++++++++++++++++++++++++------
 compiler/rename/RnSplice.lhs-boot    |    2 ++
 compiler/typecheck/TcHsSyn.lhs       |    3 ++
 compiler/typecheck/TcRnDriver.lhs    |    9 +++---
 compiler/typecheck/TcSplice.lhs      |   12 ++++++--
 compiler/typecheck/TcSplice.lhs-boot |    2 +-
 11 files changed, 116 insertions(+), 39 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 5246e123b2877ee69ad26e8b14cbac5feb0ec7ca



More information about the ghc-commits mailing list