[GHC] #12143: ApplicativeDo Fails to Desugar 'return True'
GHC
ghc-devs at haskell.org
Fri Oct 27 13:48:43 UTC 2017
#12143: ApplicativeDo Fails to Desugar 'return True'
-------------------------------------+-------------------------------------
Reporter: MichaelBurge | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone: 8.4.1
Component: Compiler | Version: 8.0.1
Resolution: | Keywords: ApplicativeDo
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: 10892 | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4128
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Simon Marlow <marlowsd@…>):
In [changeset:"41f905596dc2560f29657753e4c69ce695161786/ghc" 41f9055/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="41f905596dc2560f29657753e4c69ce695161786"
ApplicativeDo: handle BodyStmt (#12143)
Summary:
It's simple to treat BodyStmt just like a BindStmt with a wildcard
pattern, which is enough to fix #12143 without going all the way to
using `<*` and `*>` (#10892).
Test Plan:
* new test cases in `ado004.hs`
* validate
Reviewers: niteria, simonpj, bgamari, austin, erikd
Subscribers: rwbarton, thomie
GHC Trac Issues: #12143
Differential Revision: https://phabricator.haskell.org/D4128
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12143#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list