#2356: GHC accepts multiple instances for the same type in different modules
----------------------+-----------------------------------------------------
Reporter: claus | Owner:
Type: bug | Status: new
Priority: low | Milestone: _|_
Component: Compiler | Version: 6.8.2
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Comment (by guest):
Oh, come on. It's easy to generate the unique string for the instance by
flattening the type. HBC did this 15 years ago. :)
The linker error is a little obscure, but since ghc starts the linker it
can filter the error messages and print a better one. (HBC didn't do
that.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2356#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs