[commit: ghc] master: Handle file targets in missing home modules warning (dac49bd)

git at git.haskell.org git at git.haskell.org
Mon May 22 16:41:49 UTC 2017


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

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

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

commit dac49bdc79387ca9f91c7c5c9220699efb6239fb
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Mon May 22 11:59:56 2017 -0400

    Handle file targets in missing home modules warning
    
    When main module is listed on command line as a file, we should not
    issue a warning about it. See Trac #13727
    
    Reviewers: austin, bgamari, Yuras
    
    Reviewed By: bgamari, Yuras
    
    Subscribers: 23Skidoo, rwbarton, thomie
    
    GHC Trac Issues: #13727
    
    Differential Revision: https://phabricator.haskell.org/D3598


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

dac49bdc79387ca9f91c7c5c9220699efb6239fb
 compiler/main/GhcMake.hs                           | 38 ++++++++++++++++------
 .../should_compile/T13727}/Makefile                |  0
 .../warnings/should_compile/T13727/T13727a.stderr  |  6 ++++
 .../warnings/should_compile/T13727/T13727b.stderr  |  6 ++++
 .../warnings/should_compile/T13727/T13727c.stderr  |  3 ++
 .../warnings/should_compile/T13727/T13727d.stderr  |  3 ++
 .../warnings/should_compile/T13727/T13727e.stderr  |  3 ++
 .../warnings/should_compile/T13727/T13727f.stderr  |  7 ++++
 .../warnings/should_compile/T13727/T13727g.stderr  |  7 ++++
 .../warnings/should_compile/T13727/T13727h.stderr  |  7 ++++
 .../warnings/should_compile/T13727/T13727i.stderr  |  7 ++++
 .../warnings/should_compile/T13727/T13727j.stderr  |  7 ++++
 .../warnings/should_compile/T13727/T13727k.stderr  |  4 +++
 .../tests/warnings/should_compile/T13727/all.T     | 20 ++++++++++++
 .../should_compile/T13727/src-exe/AltMain.hs       |  6 ++++
 .../warnings/should_compile/T13727/src-exe/Main.hs |  6 ++++
 .../warnings/should_compile/T13727/src-lib/M1.hs   |  1 +
 17 files changed, 121 insertions(+), 10 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 dac49bdc79387ca9f91c7c5c9220699efb6239fb


More information about the ghc-commits mailing list