|
-fwarn-unused-imports confused by hi-boot files: msg#00056lang.haskell.glasgow.bugs
# ghc -fwarn-unused-imports C.hs C.hs:1: Warning: Module `A' is imported, but nothing from it is used (except perhaps instances visible in `A') However if I comment out the import of A I get ./B.hi-boot:3: tcLookup: `A.A' is not in scope In the type synonym declaration for `AS' C.hs:1: Failed to load interface for `A': Bad interface file: ./A.hi ./A.hi: openBinaryFile: does not exist (No such file or directory) C.hs:1: Failed to find interface decl for `A.A' from module `A' C.hs:1: Failed to find interface decl for `A.A' from module `A' module A where data Amodule B where type AS = [A.A]module C where import {-# SOURCE #-} A import {-# SOURCE #-} B type ASS = [AS]_______________________________________________ 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-1025941 ] Big problems running ghc and ghci, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-1025941 ] Big problems running ghc and ghci, SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-1012521 ] getUserEntryForID dies, SourceForge.net |
| Next by Thread: | RE: -fwarn-unused-imports confused by hi-boot files, Simon Peyton-Jones |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |