[GHC] #11624: Cannot declare hs-boot declaration if there is already a value in scope

GHC ghc-devs at haskell.org
Tue Mar 1 00:15:44 UTC 2016


#11624: Cannot declare hs-boot declaration if there is already a value in scope
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:  ezyang
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler (Type    |              Version:  8.0.1-rc2
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by ezyang):

 BTW, it's pretty easy to work around this problem: do an explicit import
 of Prelude bringing into scope only the identifiers you need.

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


More information about the ghc-tickets mailing list