[GHC] #8386: AMP warning on "hiding (join)"

GHC ghc-devs at haskell.org
Mon Sep 30 12:34:07 CEST 2013


#8386: AMP warning on "hiding (join)"
-------------------------+-------------------------------------------------
       Reporter:         |             Owner:
  monoidal               |            Status:  new
           Type:  bug    |         Milestone:
       Priority:         |           Version:  7.7
  normal                 |  Operating System:  Unknown/Multiple
      Component:         |   Type of failure:  Incorrect warning at
  Compiler               |  compile-time
       Keywords:         |         Test Case:
   Architecture:         |          Blocking:
  Unknown/Multiple       |
     Difficulty:         |
  Unknown                |
     Blocked By:         |
Related Tickets:         |
-------------------------+-------------------------------------------------
 This file gives an AMP warning, but it shouldn't. It's a slightly modified
 version of http://ghc.haskell.org/trac/ghc/ticket/8004#comment:15.

 {{{
 module Foo (join) where

 import Prelude hiding (join) -- import Prelude () gives no warning

 join :: ()
 join = ()
 }}}

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



More information about the ghc-tickets mailing list