ApplicativeDo: Handle terminal `pure` statements
authorBen Gamari <bgamari.foss@gmail.com>
Thu, 25 Feb 2016 13:47:34 +0000 (14:47 +0100)
committerBen Gamari <ben@smart-cactus.org>
Thu, 25 Feb 2016 14:41:55 +0000 (15:41 +0100)
commit0c7db61f8a17b2c5c4335b62103eb9ffc5d24154
treeff79b64a2c395c0c179ca3f76c4815ba96cd6682
parent8e19d3a3066b883d9bc10a75c8d3183907272a9f
ApplicativeDo: Handle terminal `pure` statements

ApplicativeDo handled terminal `return` statements properly, but not
`pure`.

Test Plan: Validate with included testcase

Reviewers: austin, simonmar

Reviewed By: austin, simonmar

Subscribers: simonpj, thomie

Differential Revision: https://phabricator.haskell.org/D1931

GHC Trac Issues: #11607
compiler/rename/RnExpr.hs
docs/users_guide/glasgow_exts.rst
testsuite/tests/ado/T11607.hs [new file with mode: 0644]
testsuite/tests/ado/T11607.stdout [new file with mode: 0644]
testsuite/tests/ado/all.T