|
Compiler complains about duplicate instance declarations: msg#00028lang.haskell.glasgow.bugs
Hi I've attached a minimal example, which makes the compiler complain in error about multiple instance declarations. Run "make" twice. ~/src/hsskripte/bugrep $ make ghc --make mtest.hs Chasing modules from: mtest.hs Compiling Schema ( ./Schema.hs, ./Schema.o ) Compiling Datenbank ( ./Datenbank.hs, ./Datenbank.o ) Compiling Main ( mtest.hs, mtest.o ) Linking ... ~/src/hsskripte/bugrep $ make ghc --make mtest.hs Chasing modules from: mtest.hs Skipping Schema ( ./Schema.hs, ./Schema.o ) Skipping Datenbank ( ./Datenbank.hs, ./Datenbank.o ) Duplicate instance declarations: In module Datenbank: GHC.Base.Eq Datenbank.Praedikat In module Datenbank: GHC.Base.Eq Datenbank.Praedikat Duplicate instance declarations: In module Datenbank: GHC.Show.Show Datenbank.Praedikat In module Datenbank: GHC.Show.Show Datenbank.Praedikat make: *** [mtest] Fehler 1 Greetings, Volker
Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-1119221 ] Rebindable syntax doesn't work as advertised, SourceForge.net |
|---|---|
| Next by Date: | RE: Compiler complains about duplicate instance declarations, Simon Peyton-Jones |
| Previous by Thread: | [ ghc-Bugs-1119221 ] Rebindable syntax doesn't work as advertised, SourceForge.net |
| Next by Thread: | RE: Compiler complains about duplicate instance declarations, Simon Peyton-Jones |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |