1. 09 Jan, 2008 3 commits
  2. 07 Jan, 2008 4 commits
    • simonpj@microsoft.com's avatar
      Fix Trac #2018: float-out was ignoring the kind of a coercion variable · e2cf518a
      simonpj@microsoft.com authored
      The float-out transformation must handle the case where a coercion
      variable is free, which in turn mentions type variables in its kind.
      Just like a term variable really.
      
      I did a bit of refactoring at the same time.
      
      Test is tc241
      
      MERGE to stable branch
      e2cf518a
    • simonpj@microsoft.com's avatar
      Make the treatment of equalities more uniform · 3787d987
      simonpj@microsoft.com authored
      This patch (which is part of the fix for Trac #2018) makes coercion variables
      be handled more uniformly.  Generally, they are treated like dictionaries
      in the type checker, not like type variables, but in a couple of places we
      were treating them like type variables.  Also when zonking we should use
      zonkDictBndr not zonkIdBndr.
      3787d987
    • simonpj@microsoft.com's avatar
      Fix Trac #2017 · 5f99dc3d
      simonpj@microsoft.com authored
      5f99dc3d
    • simonpj@microsoft.com's avatar
      Add -XImpredicativeTypes, and tighten up type-validity checking (cf Trac 2019) · 5e04ae34
      simonpj@microsoft.com authored
      Somehow we didn't have a separate flag for impredicativity; now we do.
      
      Furthermore, Trac #2019 showed up a missing test for monotypes in data
      constructor return types.  And I realised that we were even allowing
      things like
      	Num (forall a. a) => ...
      which we definitely should not.  
      
      This patch insists on monotypes in several places where we were (wrongly)
      too liberal before.
      
      Could be merged to 6.8 but no big deal.
      
      5e04ae34
  3. 04 Jan, 2008 1 commit
  4. 06 Jan, 2008 2 commits
  5. 04 Jan, 2008 3 commits
  6. 26 Dec, 2007 3 commits
  7. 04 Jan, 2008 4 commits
  8. 03 Jan, 2008 5 commits
  9. 02 Jan, 2008 3 commits
  10. 20 Dec, 2007 1 commit
    • Simon Marlow's avatar
      Add dead code elimination in cmmMiniInline · ae72991e
      Simon Marlow authored
      cmmMiniInline counts the uses of local variables, so it can easily
      eliminate assigments to unused locals.  This almost never gets
      triggered, as we don't generate any dead assignments, but it will be
      needed by a forthcoming cleanup in CgUtils.emitSwitch.
      ae72991e
  11. 02 Jan, 2008 1 commit
  12. 01 Jan, 2008 3 commits
  13. 30 Dec, 2007 1 commit
  14. 29 Dec, 2007 1 commit
  15. 28 Dec, 2007 2 commits
  16. 27 Dec, 2007 1 commit
  17. 26 Dec, 2007 1 commit
  18. 27 Dec, 2007 1 commit
    • Clemens Fruhwirth's avatar
      API changes for cabal-HEAD · 1286d3e9
      Clemens Fruhwirth authored
      Rename interfacedir to haddockdir
      Change empty(Copy|Register)Flags to default(Copy|Register)Flags
      Wrap content of RegisterFlags with toFlag (the Flag type is actually just Maybe)
      1286d3e9