Prevent ApplicativeDo from applying to strict pattern matches (#13875)
authorSimon Marlow <marlowsd@gmail.com>
Thu, 29 Jun 2017 23:39:45 +0000 (19:39 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 29 Jun 2017 23:39:46 +0000 (19:39 -0400)
commit1ef4156e45dcb258f6ef05cfb909547b8e3beb0f
tree223ba08829f2da6c62d21116358cfe725ec4b353
parent9b514dedf090c5e21e3be38d174cf1390e21879f
Prevent ApplicativeDo from applying to strict pattern matches (#13875)

Test Plan:
* New unit tests
* validate

Reviewers: dfeuer, simonpj, niteria, bgamari, austin, erikd

Reviewed By: dfeuer

Subscribers: rwbarton, thomie

GHC Trac Issues: #13875

Differential Revision: https://phabricator.haskell.org/D3681
compiler/rename/RnExpr.hs
testsuite/tests/ado/T13875.hs [new file with mode: 0644]
testsuite/tests/ado/ado001.hs
testsuite/tests/ado/ado001.stdout
testsuite/tests/ado/all.T