Suggest enabling PatternSynonyms (#10943)
authorMoritz Kiefer <moritz.kiefer@purelyfunctional.org>
Thu, 22 Oct 2015 11:40:41 +0000 (13:40 +0200)
committerThomas Miedema <thomasmiedema@gmail.com>
Thu, 22 Oct 2015 11:40:46 +0000 (13:40 +0200)
commit1e8d1f1c6d85457c786b50b1e054facdb61cbae1
tree7cae053acab842b3142c35ba29d406cf80f013c6
parentc633f71f9b687dcb9154ffd558442193cbced0e3
Suggest enabling PatternSynonyms (#10943)

Suggest enabling PatternSynonyms if we find an invalid
signature that looks like a pattern synonym.

Reviewed By: austin, thomie

Differential Revision: https://phabricator.haskell.org/D1347
compiler/parser/RdrHsSyn.hs
testsuite/tests/parser/should_fail/NoPatternSynonyms.hs [new file with mode: 0644]
testsuite/tests/parser/should_fail/NoPatternSynonyms.stderr [new file with mode: 0644]
testsuite/tests/parser/should_fail/all.T