[commit: ghc] master: Desugar modules compiled with -fno-code (c9eb438)

git at git.haskell.org git at git.haskell.org
Mon Jun 5 20:09:10 UTC 2017


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

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

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

commit c9eb4385aad248118650725b7b699bb97ee21c0d
Author: doug <douglas.wilson at gmail.com>
Date:   Mon Jun 5 15:09:50 2017 -0400

    Desugar modules compiled with -fno-code
    
    Previously modules with hscTarget == HscNothing were not desugared.
    This patch changes behavior so that all modules HsSrcFile Modules except GHC.Prim
    are desugared. Modules with hscTarget == HscNothing are not simplified.
    
    Warnings and errors produced by the desugarer will now be produced when
    compiling with -fno-code.
    
    HscMain.finishTypecheckingOnly is removed, HscMain.hscIncrementalCompile is
    simplified a bit, and HscMain.finish takes in the removed logic. I think this
    is easier to follow.
    
    Updates haddock submodule.
    
    Tests T8101, T8101b, T10600 are no longer expect_broken.
    
    Reviewers: ezyang, austin, bgamari
    
    Subscribers: rwbarton, thomie
    
    GHC Trac Issues: #10600
    
    Differential Revision: https://phabricator.haskell.org/D3542


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

c9eb4385aad248118650725b7b699bb97ee21c0d
 compiler/main/HscMain.hs           | 90 ++++++++++++++++++--------------------
 testsuite/tests/driver/all.T       |  6 +--
 testsuite/tests/perf/haddock/all.T |  9 ++--
 utils/haddock                      |  2 +-
 4 files changed, 53 insertions(+), 54 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 c9eb4385aad248118650725b7b699bb97ee21c0d


More information about the ghc-commits mailing list