1. 16 Jul, 2001 21 commits
  2. 14 Jul, 2001 1 commit
    • sof's avatar
      [project @ 2001-07-14 00:06:13 by sof] · ba312921
      sof authored
      Heal HEID
      
      - eqForeignObjZh in include/PrimOps.h didn't have quite the right
        shape (the result is a macro arg). hslibs/lang/ForeignObj
        wasn't up on the change to eqForeignObj now being a primop.
      
      - 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).
      
        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.
      
      - recent changes to the behaviour of 'hiding' & qualified names
        broke hslibs/lang/CString hslibs/data/edison/Seq/ListSeq,
        hslibs/data/edison/Coll/TestOrdBag, hslibs/data/edison/Coll/UnbalancedSet,
        hslibs/data/edison/Coll/TestOrdSet, hslibs/data/edison/Seq/TestSeq
      
      - rename 64-bit 'primop' funs that now live in lib/std/cbits/longlong.c
        back to what they used to be called (i.e., prefixed with "stg_").
        Why?
           - less likely they'll clash with other (user supplied) entry points
             at link-time.
           - matches protos in ghc/includes/PrimOp.h
      ba312921
  3. 13 Jul, 2001 14 commits
  4. 12 Jul, 2001 4 commits
    • sof's avatar
      [project @ 2001-07-12 16:25:32 by sof] · 434ef2b1
      sof authored
      ppFilesFromSummaries: to cope with recent driver changes,
      only report a file as being preprocessed if it differs from
      the source file(name).
      
      Fixes awfully bad breakage when using --make (source files
      were being deleted).
      434ef2b1
    • simonpj's avatar
      [project @ 2001-07-12 16:24:49 by simonpj] · e569a71e
      simonpj authored
      Remove DsHsSyn; really part of my previous commit
      e569a71e
    • simonpj's avatar
      [project @ 2001-07-12 16:21:22 by simonpj] · ab46fd8e
      simonpj authored
      --------------------------------------------
      	Fix another bug in the squash-newtypes story.
      	--------------------------------------------
      
      [This one was spotted by Marcin, and is now enshrined in test tc130.]
      
      The desugarer straddles the boundary between the type checker and
      Core, so it sometimes needs to look through newtypes/implicit parameters
      and sometimes not.  This is really a bit painful, but I can't think of
      a better way to do it.
      
      The only simple way to fix things was to pass a bit more type
      information in the HsExpr type, from the type checker to the desugarer.
      That led to the non-local changes you can see.
      
      On the way I fixed one other thing.  In various HsSyn constructors
      there is a Type that is bogus (bottom) before the type checker, and
      filled in with a real type by the type checker.  In one place it was
      a (Maybe Type) which was Nothing before, and (Just ty) afterwards.
      I've defined a type synonym HsTypes.PostTcType for this, and a named
      bottom value HsTypes.placeHolderType to use when you want the bottom
      value.
      ab46fd8e
    • simonpj's avatar
      [project @ 2001-07-12 14:51:28 by simonpj] · 6d1815b0
      simonpj authored
      Fix the module import story to match what the Revised
      Haskell Report says
      
      1. 	Don't import qualified names of things that aren't imported
      
      2.	Fix a bug that meant
      		import A hiding( D )
      	where D is a data constructor, didn't work.
      	[The fix is to use IEVar not IEThingAbs in the
      	want_hiding case of get_item in RnNames.filterImports
      6d1815b0