Hi Serge

Can you give us a test case?  And if so, submit a Trac bug report?

It works ok for me (see my example below), so I can't do anything without more 
info.

Simon

sh-2.04$ cat D.hs-boot
module D where
import BadModule

data X

sh-2.04$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.6.1

sh-2.04$ ghc -c D.hs-boot

D.hs-boot:2:0:
    Failed to load interface for `BadModule':
      Use -v to see a list of the files searched for.
sh-2.04$



| -----Original Message-----
| From: [EMAIL PROTECTED] [mailto:glasgow-haskell-
| [EMAIL PROTECTED] On Behalf Of Serge D. Mechveliani
| Sent: 21 June 2007 17:04
| To: glasgow-haskell-bugs@haskell.org
| Subject: un-existing import in boot-module
|
| Dear GHC developers,
|
| ghc-6.6.1  does not report about unknown module import in boot-modules.
|
| For example, let us have            Foo.hs  and  Foo.hs-boot,
| and add to   Foo.hs-boot  the line
|
|   import M
|
| , where  M  is not a name of any existing module.
| ghc  `makes' the project without any report of this `M'.
|
| -----------------
| Serge Mechveliani
| [EMAIL PROTECTED]
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs@haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to