Disallow unboxed string literals in patterns (#13260)
authorRupert Horlick <ruperthorlick@gmail.com>
Mon, 6 Mar 2017 18:44:40 +0000 (13:44 -0500)
committerBen Gamari <ben@smart-cactus.org>
Mon, 6 Mar 2017 22:23:02 +0000 (17:23 -0500)
commit6177c0d8bdc6f5c0675b2eace592620abb658787
treeb798c7cc95a3c6e6f77a9e9cef11a1332504ed3e
parentf57bd2ae8fc787f14aeafa3f2f7ded253456528c
Disallow unboxed string literals in patterns (#13260)

Signed-off-by: Rupert Horlick <ruperthorlick@gmail.com>
Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie

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