cvs commit: fptools/ghc/compiler/deSugar DsCCall.lhs DsForeign.lhs fptools/ghc/includes PrimOps.h fptools/ghc/lib/std PrelInt.lhs PrelWord.lhs fptools/ghc/lib/std/cbits longlong.c fptools/hslibs/data/edison/Coll TestOrdBag.hs Test

Simon Peyton-Jones simonpj@microsoft.com
Mon, 16 Jul 2001 02:43:45 -0700


|   - recent ghc/compiler/deSugar/ changes broke the handling of
|     CCall & FFI decls quite a bit. Backed out most the rewrites
|     of Type.splitFoo to TcType.tcSplitFoo (i.e., now back to using
|     TcType.tcSplitFoo).
|  =20
|     The backed-out newtype-related changes were by no means
accidental.
|     But, I don't profess to understand their intention to make the
|     proper fix, so my change is just a stop-gap measure to get HEAD
|     back to the land of the living.


Sorry about that.  I was trying to make the desugarer work entirely in
terms
of Core representation types (where newtypes and implicit-parameter
types
are transparent) but this is just wrong for DsCCall etc, mainly because
IO t
is a newtype.


I've added some comments and tidied up a bit.  I'll run a test today

Simon