Skip to content

GHC does not report name clashes in export lists

module A where

a = undefined

module B (a, module A) where

import qualified A

a = undefined

There is a name clash here which GHC does not report.

Trac metadata
Trac field Value
Version 7.6.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC roma@ro-che.info
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information