This project is mirrored from Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 18 Apr, 2017 1 commit
  2. 17 Apr, 2017 1 commit
    • Sergei Trofimovich's avatar
      hs_add_root() RTS API removal · a92ff5d6
      Sergei Trofimovich authored
      Before ghc-7.2 hs_add_root() had to be used to initialize haskell
      modules when haskell was called from FFI.
      commit a52ff761
      ("Change the way module initialisation is done (#3252, #4417)")
      removed needs for hs_add_root() and made function a no-op.
      For backward compatibility '__stginit_<module>' symbol was
      not removed.
      This change removes no-op hs_add_root() function and unused
      '__stginit_<module>' symbol from each haskell module.
      Signed-off-by: default avatarSergei Trofimovich <>
      Test Plan: ./validate
      Reviewers: simonmar, austin, bgamari, erikd
      Reviewed By: simonmar
      Subscribers: rwbarton, thomie
      Differential Revision:
  3. 13 Apr, 2017 1 commit
    • Simon Peyton Jones's avatar
      Yet more work on TcSimplify.simplifyInfer · 0ae72512
      Simon Peyton Jones authored
      The proximate cause for this patch is Trac #13482, which pointed out
      further subtle interactions between
         - Inferring the most general type of a function
         - A partial type signature for that function
      That led me into /further/ changes to the shiny new stuff in
      TcSimplify.simplifyInfer, decideQuantification, decideMonoTyVars,
      and related functions.
      Happily, I was able to make some of it quite a bit simpler,
      notably the bit about promoting free tyvars.  I'm happy with
      the result.
      Moreover I fixed Trac #13524 at the same time.  Happy days.
  4. 12 Apr, 2017 4 commits
  5. 11 Apr, 2017 1 commit
  6. 10 Apr, 2017 2 commits
  7. 09 Apr, 2017 1 commit
  8. 07 Apr, 2017 1 commit
    • Simon Peyton Jones's avatar
      Do Note [Improving seq] always · f0d98fc6
      Simon Peyton Jones authored
      This patch fixes Trac #13468, and at the same time makes the
      code simpler and more uniform.  In particular, I've eliminated
      the awkward conflict between the old built-in rule for seq
      (which elimianted a cast), and the desire to make case scrutinse
      a data type by doing type-family reduction (which adds a cast).
  9. 06 Apr, 2017 6 commits
    • Ben Gamari's avatar
      testsuite: Update expected performance numbers on 32-bit Linux · 1d82e072
      Ben Gamari authored
      The Harbormaster build seems to slightly disagree with my local build machine on
      a few of these. In the case of `haddock.compiler` the difference is nearly an
      order of magnitude. Odd.
    • Ryan Scott's avatar
      Add regression test for #13538 · e61900c9
      Ryan Scott authored
      Commit 2b64e926 (#13135) ended
      up fixing #13538 as well. Let's add a regression test so that it stays
      Test Plan: make test TEST=T13538
      Reviewers: austin, bgamari
      Reviewed By: bgamari
      Subscribers: rwbarton, thomie
      GHC Trac Issues: #13538
      Differential Revision:
    • Simon Peyton Jones's avatar
      Be less aggressive about fragile-context warrnings · 65b185d4
      Simon Peyton Jones authored
      In the implementation of WarnSimplifiableClassConstraints, be
      less aggressive about reporting a problem. We were complaining
      about a "fragile" case that in fact was not fragile.
      See Note [Simplifiable given constraints] in TcValidity.
      This fixes Trac #13526.
    • Simon Peyton Jones's avatar
      Yet another attempt at inferring the right quantification · bac95f9d
      Simon Peyton Jones authored
      TcSimplify.decideQuantification is truly a tricky function!
      Trac #13509 showed that we were being over-eager with defaulting
      of runtime-rep variables (levity polymorphism), which meant that
      a program was wrongly rejected, and with a very odd error message
      (c.f. Trac #13530)
      I spent an unreasonably long time figuring out how to fix this
      in a decent way, and ended up with a major refactoring of
      decideQuantification, with a kock-on effect in simplifyInfer.
      It is at least a bit more comprehensible now; but I still
      can't say I like it.
    • Simon Peyton Jones's avatar
      Add a missing addDeferredBinding · 2f9f1f86
      Simon Peyton Jones authored
      I'd forgotten to add deferred bindings for user type
      errors.  Fixes Trac #13487.
    • Simon Peyton Jones's avatar
      Don't report fundep wanted/wanted errors · 48daaaf0
      Simon Peyton Jones authored
      This makes GHC drop derived FunDep errors when they
      are come from wanted/wanted interactions.  Much along
      the lines of "don't rewrite wanteds with wanteds".
      See TcRnTypes Note [Dropping derived constraints]
      and the new code in isDroppableDerivedLoc.
      Fixes Trac #13506.
  10. 05 Apr, 2017 4 commits
  11. 04 Apr, 2017 2 commits
    • Ben Gamari's avatar
      testsuite: Bump up timeout multiplier on T11195 · 932b4696
      Ben Gamari authored
      This has been failing a bit too often (on CI machines under load).
    • David Feuer's avatar
      Revert "Make raiseIO# produce topRes" · e83af07e
      David Feuer authored
      This reverts commit da4687f6.
      It's not entirely trivial to clean up the dead code this patch
      introduced. In particular, when we see
      case raiseIO# m s of
        s' -> e
      we want to know that `e` is dead. For scrutinees that are properly
      bottom (which we don't want to consider `raiseIO# m s` to be, this
      is handled by rewriting `bot` to `case bot of {}`. But if we do
      that for `raiseIO#`, we end up with
      case raiseIO# m s of {}
      which looks a lot like bottom and could confuse demand analysis.
      I think we need to wait with this change until we have a more
      complete story.
      Reviewers: austin, bgamari
      Reviewed By: bgamari
      Subscribers: rwbarton, thomie
      Differential Revision:
  12. 03 Apr, 2017 2 commits
  13. 02 Apr, 2017 8 commits
  14. 01 Apr, 2017 5 commits
  15. 31 Mar, 2017 1 commit
    • rwbarton's avatar
      Fix space leaks in simplifier (#13426) · e13419c5
      rwbarton authored
      The Join points commit (8d5cf8bf) introduced a space leak
      somewhere in the simplifier. The extra strictness added in this commit
      fixes the leak. Unfortunately I don't really understand the details.
      Unfortunately, the extra strictness appears to result in more overall
      allocations in some cases, even while the peak heap size decreases in others.
      Test Plan: harbormaster
      Reviewers: austin, bgamari
      Reviewed By: bgamari
      Subscribers: thomie
      Differential Revision: