un-existing import in boot-module
Simon Peyton-Jones
simonpj at microsoft.com
Fri Jun 22 06:38:50 EDT 2007
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: glasgow-haskell-bugs-bounces at haskell.org [mailto:glasgow-haskell-
| bugs-bounces at haskell.org] On Behalf Of Serge D. Mechveliani
| Sent: 21 June 2007 17:04
| To: glasgow-haskell-bugs at 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
| mechvel at botik.ru
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
More information about the Glasgow-haskell-bugs
mailing list