[commit: ghc] master: Add isImport, isDecl, and isStmt functions to GHC API (2110037)

git at git.haskell.org git at git.haskell.org
Mon Dec 7 11:14:55 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/2110037e270c5ea36de63e4d95a3175751338571/ghc

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

commit 2110037e270c5ea36de63e4d95a3175751338571
Author: Roman Shatsov <roshats at gmail.com>
Date:   Mon Dec 7 11:24:36 2015 +0100

    Add isImport, isDecl, and isStmt functions to GHC API
    
    Reviewers: austin, thomie, bgamari
    
    Reviewed By: thomie, bgamari
    
    Subscribers: mpickering, thomie
    
    Differential Revision: https://phabricator.haskell.org/D1518
    
    GHC Trac Issues: #9015


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

2110037e270c5ea36de63e4d95a3175751338571
 compiler/main/GHC.hs                 |  1 +
 compiler/main/InteractiveEval.hs     | 37 ++++++++++++++++
 docs/users_guide/7.12.1-notes.rst    |  2 +
 ghc/GhciMonad.hs                     | 19 +-------
 ghc/InteractiveUI.hs                 | 33 +++++---------
 testsuite/.gitignore                 |  1 +
 testsuite/tests/ghc-api/Makefile     |  7 ++-
 testsuite/tests/ghc-api/T9015.hs     | 59 +++++++++++++++++++++++++
 testsuite/tests/ghc-api/T9015.stdout | 86 ++++++++++++++++++++++++++++++++++++
 testsuite/tests/ghc-api/all.T        |  3 ++
 10 files changed, 207 insertions(+), 41 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 2110037e270c5ea36de63e4d95a3175751338571


More information about the ghc-commits mailing list