resolve T13704
authorchessai <chessai1996@gmail.com>
Tue, 2 Oct 2018 12:46:08 +0000 (14:46 +0200)
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Tue, 2 Oct 2018 14:00:19 +0000 (16:00 +0200)
commitabfb91fb0ea27eb618f297b1d3ba60cfa021afe0
treef35b012fb723e44c015a97c69c128019755fd580
parentcaffff1238097821cd2879f7285010a6565afd52
resolve T13704

Summary: allow -main-is to change export list for default module
header, allowing one to change the entry point to one's program.

Test Plan: ./validate

Reviewers: bgamari, nomeata, mpickering

Reviewed By: mpickering

Subscribers: mpickering, rwbarton, carter

GHC Trac Issues: #13704

Differential Revision: https://phabricator.haskell.org/D5189
.gitignore
compiler/typecheck/TcRnExports.hs
docs/users_guide/bugs.rst
testsuite/tests/module/T13704.hs [new file with mode: 0644]
testsuite/tests/module/all.T