Add suggestion for PatternSynonyms parse error (fixes #12429)
authorRupert Horlick <ruperthorlick@gmail.com>
Thu, 2 Mar 2017 21:35:31 +0000 (16:35 -0500)
committerBen Gamari <ben@smart-cactus.org>
Fri, 3 Mar 2017 00:58:01 +0000 (19:58 -0500)
commit4b1f0721ce164d079848d1f8890630dbbf4cbf7a
tree4f30c8a9afe63421c92bbdb7fcadee003c2a1ee8
parent27bf6b6857b181cd70402829a10d78e8d205962f
Add suggestion for PatternSynonyms parse error (fixes #12429)

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D3261
compiler/parser/Lexer.x
testsuite/tests/parser/should_fail/T12429.hs [new file with mode: 0644]
testsuite/tests/parser/should_fail/T12429.stderr [new file with mode: 0644]
testsuite/tests/parser/should_fail/all.T