[GHC] #15607: RebindableSyntax warns `return` is not in scope when trying to call `pure`, but does not desugar between the two

GHC ghc-devs at haskell.org
Sun Sep 23 11:19:11 UTC 2018


#15607: RebindableSyntax warns `return` is not in scope when trying to call `pure`,
but does not desugar between the two
-------------------------------------+-------------------------------------
        Reporter:  isovector         |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.6.1-beta1
      Resolution:  fixed             |             Keywords:
                                     |  RebindableSyntax
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  rename/should_fail/T15607
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by simonpj):

 * status:  new => closed
 * testcase:   => rename/should_fail/T15607
 * resolution:   => fixed


Comment:

 A plane journey gave me an opportunity to fix this.  Thanks for reporting
 it!

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15607#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list