summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail
diff options
context:
space:
mode:
authorManav Rathi <mx4492@gmail.com>2016-02-25 14:51:32 +0100
committerBen Gamari <ben@smart-cactus.org>2016-02-25 15:41:55 +0100
commit665849142bca36c14bcb25d64180c153a1ef1f2c (patch)
tree64d4787d0e2af14ed57d637aaced6cc54a167571 /testsuite/tests/patsyn/should_fail
parent673efccb3b348e9daf23d9e65460691bbea8586e (diff)
downloadhaskell-665849142bca36c14bcb25d64180c153a1ef1f2c.tar.gz
Make warning names more consistent
- Replace "Sigs" with "Signatures" in WarningFlag data constructors. - Replace "PatSyn" with "PatternSynonym" in WarningFlag data constructors. - Deprecate "missing-local-sigs" in favor of "missing-local-signatures". - Deprecate "missing-exported-sigs" in favor of "missing-exported-signatures". - Deprecate "missing-pat-syn-signatures" in favor of "missing-pattern-synonym-signatures". - Replace "ddump-strsigs" with "ddump-str-signatures" These complete the tasks that were explicitly mentioned in #11583 Test Plan: Executed `ghc --show-options` and verified that the flags were changed as expected. Reviewers: svenpanne, austin, bgamari Reviewed By: austin, bgamari Subscribers: mpickering, thomie Differential Revision: https://phabricator.haskell.org/D1939 GHC Trac Issues: #11583
Diffstat (limited to 'testsuite/tests/patsyn/should_fail')
-rw-r--r--testsuite/tests/patsyn/should_fail/T11053.hs2
-rw-r--r--testsuite/tests/patsyn/should_fail/all.T2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/patsyn/should_fail/T11053.hs b/testsuite/tests/patsyn/should_fail/T11053.hs
index 1ef3026186..397679ab0b 100644
--- a/testsuite/tests/patsyn/should_fail/T11053.hs
+++ b/testsuite/tests/patsyn/should_fail/T11053.hs
@@ -1,5 +1,5 @@
{-# LANGUAGE PatternSynonyms #-}
--- turn on with -fwarn-missing-pat-syn-signatures
+-- turn on with -fwarn-missing-pattern-synonym-signatures
module Foo where
diff --git a/testsuite/tests/patsyn/should_fail/all.T b/testsuite/tests/patsyn/should_fail/all.T
index 871d623dad..a091882e18 100644
--- a/testsuite/tests/patsyn/should_fail/all.T
+++ b/testsuite/tests/patsyn/should_fail/all.T
@@ -26,6 +26,6 @@ test('poly-export-fail2', expect_broken(10653), compile_fail, [''])
test('export-super-class-fail', expect_broken(10653), compile_fail, [''])
test('export-type-synonym', normal, compile_fail, [''])
test('export-ps-rec-sel', normal, compile_fail, [''])
-test('T11053', normal, compile, ['-fwarn-missing-pat-syn-signatures'])
+test('T11053', normal, compile, ['-fwarn-missing-pattern-synonym-signatures'])
test('T10426', normal, compile_fail, [''])
test('T11265', normal, compile_fail, [''])