From 067f1e4f20efc824badbac54da2f9484090cb39b Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Thu, 20 Nov 2014 22:39:32 -0600 Subject: Add flag `-fwarn-missing-exported-sigs` Summary: add `-fwarn-missing-exported-sigs` to only warn about missing signatures if the name is exported Test Plan: validate, see testsuite/tests/warnings/should_compile/T2526.hs Reviewers: ezyang, austin, thomie Reviewed By: austin, thomie Subscribers: ezyang, thomie, carter Differential Revision: https://phabricator.haskell.org/D482 GHC Trac Issues: #2526 Conflicts: docs/users_guide/7.10.1-notes.xml --- testsuite/tests/warnings/should_compile/all.T | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testsuite/tests/warnings/should_compile/all.T') diff --git a/testsuite/tests/warnings/should_compile/all.T b/testsuite/tests/warnings/should_compile/all.T index 903ab69a84..7fa8caf584 100644 --- a/testsuite/tests/warnings/should_compile/all.T +++ b/testsuite/tests/warnings/should_compile/all.T @@ -1,3 +1,5 @@ +# -fwarn-missing-exported-sigs should take precedence over -fwarn-missing-signatures +test('T2526', normal, compile, ['-fwarn-missing-signatures -fwarn-missing-exported-sigs']) test('T9178', extra_clean(['T9178.o', 'T9178DataType.o', 'T9178.hi', 'T9178DataType.hi']), multimod_compile, ['T9178', '-Wall']) -- cgit v1.2.1