Good idea. I've implemented this in the HEAD.
Simon
| -----Original Message-----
| From: Keith Wansbrough [mailto:[EMAIL PROTECTED]]
| Sent: 06 November 2000 17:39
| To: [EMAIL PROTECTED]
| Subject: Module `Foo' does not export `bar' (via hi-boot)
|
|
| I recently added an export to DataCon, and recompiled. I got the
| following:
|
| astrocyte:compiler$ make
| /usr/groups/haskell/ix86_linux/bin/ghc -cpp -fglasgow-exts
| -Rghc-timing
| -I. -IcodeGen -InativeGen -Iparser
| -iutils:basicTypes:types:hsSyn:prelud
| e:rename:typecheck:deSugar:coreSyn:specialise:simplCore:strana
| l:stgSyn:s
| implStg:codeGen:absCSyn:main:profiling:parser:usageSP:cprAnaly
| sis:javaGe
| n:ghci:nativeGen -recomp -O -DDEBUG -Onot -DDO_USAGES -c
| types/TyCon.lhs -o types/TyCon.o -osuf o
|
| types/TyCon.lhs:56:
| Module `DataCon' does not export `dataConTyConUVars'
|
| Compilation had errors
|
| make: *** [types/TyCon.o] Error 1
| astrocyte:compiler$
|
| What this message *doesn't* say is that the export is missing
| not from
| DataCon.lhs, but from DataCon.hi-boot{-5,}.
|
| Pretty please... could this error message say something like "(via
| hi-boot file") in this situation?
|
| Thanks.
|
| --KW 8-)
| --
| Keith Wansbrough <[EMAIL PROTECTED]>
| http://www.cl.cam.ac.uk/users/kw217/
| Cambridge University Computer Laboratory.
|
|
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| [EMAIL PROTECTED]
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs