[commit: ghc] master: Add typed holes support in Template Haskell. (75492e7)

git at git.haskell.org git at git.haskell.org
Fri Oct 16 19:11:38 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/75492e7467ff962f2f2e29e5c8b2c588c94ae8a7/ghc

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

commit 75492e7467ff962f2f2e29e5c8b2c588c94ae8a7
Author: Jan Stolarek <jan.stolarek at p.lodz.pl>
Date:   Tue Sep 8 19:19:44 2015 +0200

    Add typed holes support in Template Haskell.
    
    Fixes #10267. Typed holes in typed Template Haskell currently don't work.
    See #10945 and #10946.


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

75492e7467ff962f2f2e29e5c8b2c588c94ae8a7
 compiler/basicTypes/Lexeme.hs                      |  5 +-
 compiler/deSugar/DsMeta.hs                         | 24 +++++--
 compiler/hsSyn/Convert.hs                          |  1 +
 compiler/hsSyn/HsExpr.hs                           |  2 +-
 compiler/prelude/THNames.hs                        | 23 ++++---
 compiler/rename/RnExpr.hs                          |  8 +--
 compiler/rename/RnSource.hs                        |  4 +-
 compiler/rename/RnSplice.hs                        | 75 ++++++++++++++--------
 compiler/rename/RnTypes.hs                         |  2 +-
 compiler/typecheck/TcRnDriver.hs                   |  4 +-
 compiler/typecheck/TcRnTypes.hs                    | 18 +++---
 compiler/typecheck/TcSplice.hs                     |  6 +-
 compiler/typecheck/TcSplice.hs-boot                |  3 +-
 docs/users_guide/7.12.1-notes.rst                  |  4 ++
 docs/users_guide/glasgow_exts.rst                  | 42 ++++--------
 .../template-haskell/Language/Haskell/TH/Lib.hs    |  3 +
 .../template-haskell/Language/Haskell/TH/Ppr.hs    |  1 +
 .../template-haskell/Language/Haskell/TH/Syntax.hs |  4 ++
 testsuite/tests/th/T10267.hs                       | 33 ++++++++++
 testsuite/tests/th/T10267.stderr                   | 46 +++++++++++++
 testsuite/tests/th/{T10946.hs => T10267a.hs}       |  6 +-
 testsuite/tests/th/T1476b.hs                       |  2 -
 testsuite/tests/th/T1476b.stderr                   |  5 --
 testsuite/tests/th/all.T                           |  5 +-
 24 files changed, 222 insertions(+), 104 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 75492e7467ff962f2f2e29e5c8b2c588c94ae8a7


More information about the ghc-commits mailing list