Re: #15849: Error message: "Perhaps you need a let in a do block", when there is no do block.

"GHC" <[email protected]> Mon, 04 Mar 2019 18:51:01 -0000
Newsgroups gmane.comp.lang.haskell.glasgow.bugs
Message-ID <[email protected]>
#15849: Error message: "Perhaps you need a let in a do block", when there is no do
block.
-------------------------------------+-------------------------------------
        Reporter:  cdsmith           |                Owner:  nineonine
            Type:  bug               |               Status:  merge
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  parser/should_fail/T15849
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |  https://gitlab.haskell.org/ghc/ghc/merge_requests/330
-------------------------------------+-------------------------------------

Comment (by Marge Bot <ben+marge-bot@…>):

 In [changeset:"a08f463bcc9727d91cec4c6e952ad0f5bbc3fbf9/ghc"
 a08f463b/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a08f463bcc9727d91cec4c6e952ad0f5bbc3fbf9"
 Fix #15849 by checking whether there's a do block
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15849#comment:5>