#4478: Exporting the same entity twice should not be a warning
---------------------------------+------------------------------------------
Reporter: kosmikus | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.12.3 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Incorrect warning at
compile-time
---------------------------------+------------------------------------------
Changes (by michalt):
* cc: michal.terep...@… (added)
Comment:
Isn't this the whole point of `-fwarn-duplicate-exports`? As I understand
it, the
flag will make the compiler issue a warning when you export the same thing
twice. Which is exactly what happens in your example. So I'm not sure
where is
the problem/bug here..
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4478#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs