[cvs-nhc98] cvs commit: nhc98/src/compiler98 Info.hs IExtract.hs
RenameLib.hs
Malcolm Wallace
malcolm at glass.cse.ogi.edu
Fri Jun 18 18:46:21 EDT 2004
malcolm 2004/06/18 15:46:21 PDT
Modified files:
src/compiler98 Info.hs IExtract.hs RenameLib.hs
Log:
When a newtype is exported abstractly, e.g. CInt(), write the
constructor and renamed type into the interface file regardless.
This is because FFI'd code (and eventually, deriving clauses) need
to know the original type. (Fixes uses IEsome and IEsel to ensure
that constructor is not actually visible to an importing module,
but can still be re-exported.)
Revision Changes Path
1.21 +5 -1 nhc98/src/compiler98/Info.hs
1.16 +6 -1 nhc98/src/compiler98/IExtract.hs
1.26 +5 -4 nhc98/src/compiler98/RenameLib.hs
More information about the Cvs-nhc98
mailing list