[cvs-nhc98] In hat-trans, if a module has no export list, produce an e

Malcolm Wallace malcolm@sparud.net
Mon, 20 May 2002 16:16:18 +0200 (CEST)


malcolm: Mon May 20 16:16:18 CEST 2002

Update of /usr/src/master/nhc/src/compiler98
In directory hinken:/tmp/cvs-serv21684

Modified Files:
	TraceTrans.hs 
Log Message:
In hat-trans, if a module has no export list, produce an export list
containing only the stuff that should be exported.  This avoids the
problem of overlapping definitions of internally-generated identifiers
(e.g. source positions) in a multi-module program.  A little bit of
a hack but should work.

(Also noticed that a default declaration should always be deleted by
the transformation).