hsc2hs does not fail

Simon Marlow simonmar@microsoft.com
Thu, 18 Apr 2002 13:25:17 +0100


> for some reason hsc2hs does not fail if the automatically generated
> program fails to execute. This only happends if I forget to set
> LD_LIBRARY_PATH before saying make. But it leads to a confusing error
> messages when an empty .hs file is left and ghc complaints=20
> with "file name
> does not match module name".
>=20
> The patch below was done against ghc-5.02.2 on FreeBSD.

Committed, thanks.

Simon