1. 18 Apr, 2015 1 commit
  2. 14 Apr, 2015 1 commit
  3. 02 Mar, 2015 1 commit
    • Simon Peyton Jones's avatar
      Two kind-polymorphism fixes (Trac #10122) · cabe1748
      Simon Peyton Jones authored
      * The original fix was to improve the documentation, in
        line with the suggestions on Trac #10122
      * But in doing so I realised that the kind generalisation in
        TcRnDriver.tcRnType was completely wrong.  So I fixed that
        and updated Note [Kind-generalise in tcRnType] to explain.
  4. 11 Feb, 2015 1 commit
  5. 16 Jan, 2015 1 commit
    • Alexander Vershilov's avatar
      Trac #9878: Make the static form illegal in interpreted mode. · fffbf062
      Alexander Vershilov authored
      The entries of the static pointers table are expected to exist as
      object code. Thus we have ghci complain with an intelligible error
      message if the static form is used in interpreted mode.
      It also includes a fix to keysHashTable in Hash.c which could cause a
      crash. The iteration of the hashtable internals was incorrect. This
      patch has the function keysHashTable imitate the iteration in
      Finally, we submit here some minor edits to comments and
      GHC.StaticPtr.StaticPtrInfo field names.
      Authored-by: Alexander Vershilov <alexander.vershilov@tweag.
      Authored-by: default avatarFacundo Domínguez <facundo.dominguez@tweag.io>
      Test Plan: ./validate
      Reviewers: simonpj, hvr, austin
      Reviewed By: austin
      Subscribers: carter, thomie, qnikst, mboes
      Differential Revision: https://phabricator.haskell.org/D586
      GHC Trac Issues: #9878
  6. 27 Dec, 2014 1 commit
  7. 24 Dec, 2014 1 commit
    • rwbarton's avatar
      Fix linker interaction between Template Haskell and HPC (#9762) · 3e3aa925
      rwbarton authored
      I'm not really happy about perpetuating the hackish fix for #8696,
      but at least in the context of building with -fhpc, the performance
      cost should be negligible.
      I'm suspicious about PlainModuleInitLabel and the Windows stuff too,
      but I don't know what it does / can't test it (respectively) so I'll
      leave those alone for now.
      Hopefully out-of-process TH will save us from these hacks some day.
      The test is an adaptation of T8696. It's a bit more awkward since
      I couldn't think of a way to get cross-module tickbox references
      without optimizations (inlining), but ghci doesn't permit -O for
      some reason.
      Test Plan: harbormaster; validate
      Reviewers: austin
      Reviewed By: austin
      Subscribers: carter, thomie
      Differential Revision: https://phabricator.haskell.org/D583
      GHC Trac Issues: #9762
  8. 22 Dec, 2014 1 commit
  9. 30 Nov, 2014 1 commit
    • Edward Z. Yang's avatar
      Filter instance visibility based on set of visible orphans, fixes #2182. · 4c834fdd
      Edward Z. Yang authored
      Amazingly, the fix for this very old bug is quite simple: when type-checking,
      maintain a set of "visible orphan modules" based on the orphans list of
      modules which we explicitly imported.  When we import an instance and it
      is an orphan, we check if it is in the visible modules set, and if not,
      ignore it.  A little bit of refactoring for when orphan-hood is calculated
      happens so that we always know if an instance is an orphan or not.
      For GHCi, we preinitialize the visible modules set based on the list of
      interactive imports which are active.
      Future work: Cache the visible orphan modules set for GHCi, rather than
      recomputing it every type-checking round.  (But it's tricky what to do when you
      /remove/ a module: you need a data structure a little more complicated than
      just a set of modules.)
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      Test Plan: new tests and validate
      Reviewers: simonpj, austin
      Subscribers: thomie, carter
      Differential Revision: https://phabricator.haskell.org/D488
      GHC Trac Issues: #2182
  10. 21 Nov, 2014 1 commit
  11. 30 Oct, 2014 1 commit
  12. 28 Oct, 2014 1 commit
  13. 21 Oct, 2014 1 commit
    • mlen's avatar
      Enabled warn on tabs by default (fixes #9230) · 972ba121
      mlen authored
      This revision enables -fwarn-tabs by default and add a suppression
      flag, so that GHC compilation won't fail when some files contain tab
      Test Plan: Additional test case, T9230, was added to cover that change.
      Reviewers: austin
      Reviewed By: austin
      Subscribers: simonmar, ezyang, carter, thomie, mlen
      Differential Revision: https://phabricator.haskell.org/D255
      GHC Trac Issues: #9230
  14. 07 Oct, 2014 1 commit
  15. 19 Aug, 2014 1 commit
  16. 31 Jul, 2014 1 commit
    • Simon Peyton Jones's avatar
      Complete work on new OVERLAPPABLE/OVERLAPPING pragmas (Trac #9242) · 1ae5fa45
      Simon Peyton Jones authored
      * Deprecate -XOverlappingInstances
      * Update test suite.  Several tests even had entirely unnecessary
        uses of -XOverlappingInstances
      * Update user manual with a careful description of the instance
        resolution story
      * Fix an outright bug in the handling of duplidate instances in GHCi,
        which are meant to silently overwrite the earlier duplicate. The
        logic was right for family instances but was both more complicated,
        and plain wrong, for class instances.  (If you are interested, the
        bug was that we were eliminating the duplicate from the InstEnv, but
        not from the [ClsInst] held in tcg_insts.)  Test is ghci044a.
  17. 07 Jul, 2014 1 commit
  18. 07 Jun, 2014 2 commits
  19. 06 Jun, 2014 2 commits
  20. 03 Jun, 2014 1 commit
    • Simon Peyton Jones's avatar
      Do pretty-printing of TyThings via IfaceDecl (Trac #7730) · b4856f9f
      Simon Peyton Jones authored
      All the initial work on this was done fy 'archblob' (fcsernik@gmail.com);
      thank you!
      I reviewed the patch, started some tidying, up and then ended up in a huge
      swamp of changes, not all of which I can remember now.  But:
      * To suppress kind arguments when we have -fno-print-explicit-kinds,
          - IfaceTyConApp argument types are in a tagged list IfaceTcArgs
      * To allow overloaded types to be printed with =>, add IfaceDFunTy to IfaceType.
      * When printing data/type family instances for the user, I've made them
        print out an informative RHS, which is a new feature. Thus
              ghci> info T
              data family T a
              data instance T Int = T1 Int Int
              data instance T Bool = T2
      * In implementation terms, pprIfaceDecl has just one "context" argument,
        of type IfaceSyn.ShowSub, which says
             - How to print the binders of the decl
               see note [Printing IfaceDecl binders] in IfaceSyn
             - Which sub-comoponents (eg constructors) to print
      * Moved FastStringEnv from RnEnv to OccName
      It all took a ridiculously long time to do.  But it's done!
  21. 10 May, 2014 1 commit
    • Joachim Breitner's avatar
      Require transformers for T5979 · 3abf949b
      Joachim Breitner authored
      in order to get a reliable error message
      (although the error message could be improved anyways to mention the
      explicit package the module is imported with.)
  22. 03 Apr, 2014 1 commit
  23. 23 Mar, 2014 1 commit
  24. 22 Mar, 2014 2 commits
  25. 21 Mar, 2014 1 commit
  26. 16 Mar, 2014 1 commit
  27. 14 Mar, 2014 1 commit
  28. 24 Feb, 2014 1 commit
  29. 17 Jan, 2014 1 commit
  30. 10 Jan, 2014 1 commit
  31. 03 Jan, 2014 2 commits
  32. 02 Jan, 2014 1 commit
  33. 18 Nov, 2013 1 commit
  34. 29 Oct, 2013 1 commit
  35. 23 Oct, 2013 1 commit
  36. 04 Oct, 2013 1 commit