1. 25 Sep, 2006 2 commits
    • simonpj@microsoft.com's avatar
      Fix newtype deriving properly (un-doing Audreys patch) · 171d4582
      simonpj@microsoft.com authored
      The newtype-deriving mechanism generates a HsSyn case expression looking
      like this
      	case (d `cast` co) of { ... }
      That is, the case expression scrutinises a dictionary.  This is 
      otherwise never seen in HsSyn, and it made the desugarer
      (Check.get_unused_cons) crash in tcTyConAppTyCon.
      
      It would really be better to generate Core in TcInstDecls (the newtype
      deriving part) but I'm not going to do that today.  Instead, I made
      Check.get_unused_cons a bit more robust.
      
      Audrey tried to fix this over the weekend, but her fix was, alas, utterly
      bogus, which caused mysterious failures later.  I completely undid this
      change.
      
      Anyway it should work now!
      171d4582
    • Ian Lynagh's avatar
      Document -F in the flag reference · 57610c7b
      Ian Lynagh authored
      57610c7b
  2. 18 Sep, 2006 1 commit
  3. 24 Sep, 2006 2 commits
  4. 23 Sep, 2006 14 commits
  5. 22 Sep, 2006 5 commits
  6. 23 Sep, 2006 3 commits
  7. 22 Sep, 2006 1 commit
  8. 21 Sep, 2006 5 commits
  9. 20 Sep, 2006 7 commits