[GHC] #14670: -XRebindableSyntax needs return?

GHC ghc-devs at haskell.org
Tue Jan 15 13:10:46 UTC 2019


#14670: -XRebindableSyntax needs return?
-------------------------------------+-------------------------------------
        Reporter:  jackkelly         |                Owner:  simonmar
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.10.1
       Component:  Compiler          |              Version:  8.2.2
      Resolution:  worksforme        |             Keywords:
                                     |  RebindableSyntax,ApplicativeDo
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHC rejects       |            Test Case:
  valid program                      |  rebindable/T14670
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by josef):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 This is fixed. With the latest GHC I get:

 {{{
 Lib.hs:9:3: error:
     • Variable not in scope: pure :: () -> IO ()
     • Perhaps you want to add ‘pure’ to the import list
       in the import of ‘Prelude’ (Lib.hs:5:1-19).
   |
 9 |   pure ()
   |   ^^^^
 }}}

 I'm closing this ticket. Reopen if you disagree.

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


More information about the ghc-tickets mailing list