simonpj 2004/02/25 05:54:31 PST
Modified files:
ghc/compiler/iface MkIface.lhs
ghc/compiler/typecheck TcType.lhs
Log:
Yet another fix to the -Onot optimisation that hides data type
representations in .hi files.
1. Expose the representation if any fields are exposed
2. Don't expose newtypes whose data-cons are abstract, unless the
rep type is a FFI type. (Previously we were more conservative
and always exposed newtypes, just in case of a foreign decl.)
Revision Changes Path
1.10 +26 -15 fptools/ghc/compiler/iface/MkIface.lhs
1.102 +10 -0 fptools/ghc/compiler/typecheck/TcType.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc