Improve error message for #2739 (but no fix).
authorThomas Schilling <nominolo@googlemail.com>
Thu, 27 Nov 2008 13:57:25 +0000 (13:57 +0000)
committerThomas Schilling <nominolo@googlemail.com>
Thu, 27 Nov 2008 13:57:25 +0000 (13:57 +0000)
commit41fd413684f4dba0259fefffa41c9c9eac2f629a
tree5ad9710d8a108c1e9701764e5764be90e31a5559
parent022ee7c728822c4dd5be226f75e44557b4a3d9a1
Improve error message for #2739 (but no fix).

This patch changes 'loadModule' to define a fake linkable.  The
previous implementation of providing no linkable at all violated a
pre-condition in the ByteCode linker.  This doesn't fix #2739, but it
improves the error message a bit.
compiler/main/GHC.hs