Thu Aug 9 08:34:37 PDT 2007 [EMAIL PROTECTED]
* Tidy up the treatment of newtypes, refactor, and fix Trac #736
I've forgotten the precise details already, but this patch
significantly refactors the way newtypes are handled, fixes
the foreign-export problem Trac #736 (which concerned newtypes),
and gets rid of a bogus unsafeCoerce in the foreign export
desugaring.
M ./compiler/basicTypes/DataCon.lhs -2 +3
M ./compiler/coreSyn/CoreUtils.lhs -3 +7
M ./compiler/deSugar/DsCCall.lhs -41 +47
M ./compiler/deSugar/DsForeign.lhs -23 +19
M ./compiler/typecheck/TcForeign.lhs -1 +1
M ./compiler/typecheck/TcType.lhs -10 +19
M ./compiler/types/Coercion.lhs -12 +24
M ./compiler/types/TyCon.lhs -14 +12
M ./compiler/types/Type.lhs -15 +9
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc