1. 02 Jul, 2008 2 commits
  2. 01 Jul, 2008 5 commits
  3. 28 May, 2008 1 commit
  4. 01 Jul, 2008 5 commits
  5. 30 Jun, 2008 1 commit
  6. 01 Jul, 2008 1 commit
    • simonpj@microsoft.com's avatar
      Several fixes to 'deriving' including Trac #2378 · 9319fbaf
      simonpj@microsoft.com authored
      This patch collects several related things together.
      
      * Refactor TcDeriv so that the InstInfo and the method bindings are renamed
        together.  This was messy before, and is cleaner now.  Fixes a bug caused 
        by interaction between the "auxiliary bindings" (which were given 
        Original names before), and stand-alone deriving (which meant that those
        Original names came from a different module). Now the names are purely
        local an ordinary.
      
        To do this, InstInfo is parameterised like much else HsSyn stuff.
      
      * Improve the location info in a dfun, which in turn improves location 
        info for error messages, e.g. overlapping instances
      
      * Make sure that newtype-deriving isn't used for Typeable1 and friends.
        (Typeable was rightly taken care of, but not Typeable1,2, etc.)
      
      * Check for data types in deriving Data, so that you can't do, say,
       	deriving instance Data (IO a)
      
      * Decorate the derived binding with location info from the *instance* 
        rather than from the *tycon*.  Again, this really only matters with
        standalone deriving, but it makes a huge difference there.
      
      I think that's it.  Quite a few error messages change slightly.
      
      If we release 6.8.4, this should go in if possible.
      9319fbaf
  7. 29 Jun, 2008 2 commits
  8. 27 Jun, 2008 4 commits
  9. 26 Jun, 2008 4 commits
  10. 25 Jun, 2008 1 commit
  11. 24 Jun, 2008 2 commits
  12. 23 Jun, 2008 2 commits
  13. 22 Jun, 2008 1 commit
  14. 20 Jun, 2008 1 commit
  15. 21 Jun, 2008 1 commit
  16. 20 Jun, 2008 7 commits