diff options
author | doug <douglas.wilson@gmail.com> | 2017-06-05 15:09:50 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-06-05 16:08:19 -0400 |
commit | c9eb4385aad248118650725b7b699bb97ee21c0d (patch) | |
tree | 6651d530c308845908808a65352295568f8d0118 /testsuite/tests/driver/all.T | |
parent | a65dfea535ddf3ca6aa2380ad38cb60cf5c0f1d8 (diff) | |
download | haskell-c9eb4385aad248118650725b7b699bb97ee21c0d.tar.gz |
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
Diffstat (limited to 'testsuite/tests/driver/all.T')
-rw-r--r-- | testsuite/tests/driver/all.T | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/driver/all.T b/testsuite/tests/driver/all.T index 7971d46cb3..ddea9ccda8 100644 --- a/testsuite/tests/driver/all.T +++ b/testsuite/tests/driver/all.T @@ -200,10 +200,10 @@ test('T8959a', test('T703', normal, run_command, ['$MAKE -s --no-print-directory T703']) test('T2182', normal, run_command, ['$MAKE -s --no-print-directory T2182']) -test('T8101', expect_broken(10600), compile, ['-Wall -fno-code']) -test('T8101b', expect_broken(10600), multimod_compile, +test('T8101', normal, compile, ['-Wall -fno-code']) +test('T8101b', normal, multimod_compile, ['T8101b', '-Wall -fno-code']) -test('T10600', expect_broken(10600), compile_fail, ['-fno-code']) +test('T10600', normal, compile_fail, ['-fno-code']) # Should not panic when compiling cmm file together with -outputdir. test('T9050', cmm_src, compile, ['-outputdir=.']) |