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. 02 Feb, 2016 6 commits
  2. 01 Feb, 2016 13 commits
    • Herbert Valerio Riedel's avatar
      Update unix submodule to latest snapshot · ddd38e7d
      Herbert Valerio Riedel authored
      Besides containing more internal refactorings,
      this update also bumps unix's version number to
    • Adam Gundry's avatar
      Avoid mangled/derived names in GHCi autocomplete (fixes #11328) · dd0b7c78
      Adam Gundry authored
      This changes `getRdrNamesInScope` to use field labels rather than
      selector names for fields from modules with `DuplicateRecordFields`
      enabled. Moreover, it filters out derived names (e.g. type
      representation bindings) that shouldn't show up in autocomplete.
      Test Plan: New test ghci/should_run/T11328
      Reviewers: kolmodin, austin, bgamari, simonpj
      Reviewed By: bgamari, simonpj
      Subscribers: simonpj, thomie
      Differential Revision:
      GHC Trac Issues: #11328
    • rwbarton's avatar
      Fix runtime linker error message when old symbol had no owner · 73293109
      rwbarton authored
      Test Plan: Actually run validate. This fixes test linker_error3.
      Reviewers: austin, erikd, bgamari
      Reviewed By: erikd, bgamari
      Subscribers: thomie
      Differential Revision:
    • Ben Gamari's avatar
      Typo in docs · 02e3ce0b
      Ben Gamari authored
      Spelling mistakes fixed,
       * identiy > identity
       * suprising > surprising
      Reviewers: austin, bgamari
      Reviewed By: bgamari
      Subscribers: thomie
      Differential Revision:
    • Oleg Grenrus's avatar
      Add some Outputable instances · 2ad46a86
      Oleg Grenrus authored
      Reviewers: austin, bgamari
      Reviewed By: bgamari
      Subscribers: thomie
      Differential Revision:
    • rwbarton's avatar
      Fix LOOKS_LIKE_PTR for 64-bit platforms · ba88aab0
      rwbarton authored
      I'm not sure what this is used for. But it won't correctly
      detect RTS-filled slop on 64-bit platforms.
      Test Plan:
      Untested. But I did verify that
          unsigned long x = (unsigned long)0xaaaaaaaaaaaaaaaaULL;
      compiles warning-free and produces the expected output using both
      gcc and clang, with -Wall -Wextra -O, and with and without -m32.
      Reviewers: simonmar, austin, bgamari
      Reviewed By: bgamari
      Subscribers: thomie
      Differential Revision:
    • Herbert Valerio Riedel's avatar
      Implement basic uniform warning set tower · 86897e1f
      Herbert Valerio Riedel authored
      This implements/completes the current basic warning sets to provide the
      following tower of warning sets (i.e. each line subsumes the warnings
      from the sets listed below):
      - `-Weverything`
      - `-Wall`
      - `-Wextra` (alias of `-W`)
      - `-Wdefault`
      So for each of flags there's also a complement `-Wno-...` flag, which
      subtracts the given set from the current enabled-warnings state.
      Thus, we can now easily perform simple set subtraction operations, as
      warning flags are evaluated from left-to-right on the command line.
      So e.g.
      - `-Weverything -Wno-all -Wno-compat` enables *all* warnings not enabled
        by `-Wall` and `-Wcompat`.
      - `-Wextra -Wno-default` only warnings that `-Wextra` provides
        beyond the default warnings.
      Reviewers: quchen, austin, bgamari
      Reviewed By: bgamari
      Subscribers: thomie
      Differential Revision:
    • Eric Seidel's avatar
      Hide the CallStack implicit parameter · 94048f9f
      Eric Seidel authored
      The implicit parameter isn't actually very relevant to the CallStack
      machinery, so we hide the implementation details behind a constraint
      type HasCallStack = (?callStack :: CallStack)
      This has a few benefits:
      1. No need to enable `ImplicitParams` in user code.
      2. No need to remember the `?callStack` naming convention.
      3. Gives us the option to change the implementation details in the
      future with less user-land breakage.
      The revised `CallStack` API is exported from `GHC.Stack` and makes no
      mention of the implicit parameter.
      Test Plan: ./validate
      Reviewers: simonpj, austin, hvr, bgamari
      Reviewed By: simonpj, bgamari
      Subscribers: thomie
      Projects: #ghc
      Differential Revision:
    • Edward Z. Yang's avatar
      Simplify ghc-boot database representation with new type class. · 0d601657
      Edward Z. Yang authored
      Previously, we had an 'OriginalModule' type in ghc-boot which
      was basically identical to 'Module', and we had to do a bit of
      gyrating to get it converted into the right form.  This commit
      introduces a new typeclass, 'DbModuleRep' which represents types
      which we know how to serialize to and from the (now renamed) 'DbModule'
      The upshot is that we can just store 'Module's DIRECTLY in
      the 'InstalledPackageInfo', no conversion needed.
      I took the opportunity to clean up ghc-pkg to make its use of
      the 'BinaryStringRep' classes more type safe.
      Signed-off-by: default avatarEdward Z. Yang <>
      Test Plan: validate
      Reviewers: austin, bgamari
      Reviewed By: bgamari
      Subscribers: thomie
      Differential Revision:
    • niteria's avatar
      Suppress substitution assertions to fix tests · e5a0a890
      niteria authored
      This is one place that I've missed with D1862.
      This doesn't fix the underlying problem and I prefer to suppress it
      now and fix it later as this is a part of a larger effort (#11371)
      to fix an old bug with `substTy` called with invalid `in_scope` sets.
      Test Plan: `make test TEST="hClose002 hClose003 hDuplicateTo001"
      Reviewers: thomie, austin, bgamari, trofi
      Reviewed By: trofi
      Differential Revision:
      GHC Trac Issues: #11371
    • Ryan Scott's avatar
      Missing @since annotations in GHC.Generics · a883c1b7
      Ryan Scott authored
      [ci skip]
    • Ryan Scott's avatar
      Minor doc fixes to GHC.Generics · f8e2b7e3
      Ryan Scott authored
      This adds @since annotations and fixes a couple of Haddock formatting
    • rwbarton's avatar
      When encountering a duplicate symbol, show source of the first symbol · 34519f08
      rwbarton authored
      Test Plan: Used this to track down an issue I was having.
      Reviewers: simonmar, austin, erikd, bgamari
      Reviewed By: erikd, bgamari
      Subscribers: thomie
      Differential Revision:
  3. 31 Jan, 2016 5 commits
  4. 30 Jan, 2016 3 commits
  5. 29 Jan, 2016 5 commits
  6. 28 Jan, 2016 1 commit
    • niteria's avatar
      Use the in_scope set in lint_app · 63700a19
      niteria authored
      This makes the call to `substTy` satisfy the invariant from
      Note [The substitution invariant] in TyCoRep.
      Test Plan: ./validate --slow
      Reviewers: goldfire, austin, bgamari, simonpj
      Reviewed By: simonpj
      Subscribers: thomie
      Differential Revision:
      GHC Trac Issues: #11371
  7. 27 Jan, 2016 7 commits
    • Simon Marlow's avatar
      fix validate breakage · 0d5ddad9
      Simon Marlow authored
      (Travis said it was OK!)
    • Simon Marlow's avatar
      Update profiling test output · 71b1183d
      Simon Marlow authored
      There were a couple of broken profiling tests.
    • Simon Marlow's avatar
      Remote GHCi: create cost centre stacks in batches · a496f82d
      Simon Marlow authored
      Towards optimising the binary serialisation that
      -fexternal-interpreter does, this saves quite a bit of time when using
      -fexternal-interpreter with -prof.
    • Simon Marlow's avatar
      Fix cost-centre-stack bug when creating new PAP (#5654) · 85daac59
      Simon Marlow authored
      See comment in `AutoApply.h`.  This partly fixes #5654.  New test
      added, and renamed the old test to match the ticket number.
    • niteria's avatar
      Rename "open" subst functions · 5dcae88b
      niteria authored
      This is the renaming that @simonpj requested:
      · zipOpenTCvSubst  -> zipTvSubst   (It only deals with tyvars)
      · zipOpenTCvSubstCoVars -> zipCvSubst   (it only deals with
      · zipOpenTCvSubstBinders ->  zipTyBinderSubst  (it only deals
      with TyBinders, not covars)
      plus the `mk` variant.
      Test Plan: ./validate
      Reviewers: simonpj, goldfire, austin, bgamari
      Subscribers: thomie, simonpj
      Differential Revision:
      GHC Trac Issues: #11371
    •'s avatar
      Refactor the typechecker to use ExpTypes. · 00cbbab3 authored
      The idea here is described in [wiki:Typechecker]. Briefly,
      this refactor keeps solid track of "synthesis" mode vs
      "checking" in GHC's bidirectional type-checking algorithm.
      When in synthesis mode, the expected type is just an IORef
      to write to.
      In addition, this patch does a significant reworking of
      RebindableSyntax, allowing much more freedom in the types
      of the rebindable operators. For example, we can now have
      `negate :: Int -> Bool` and
      `(>>=) :: m a -> (forall x. a x -> m b) -> m b`. The magic
      is in tcSyntaxOp.
      This addresses tickets #11397, #11452, and #11458.
    •'s avatar
      Fix some substitution InScopeSets · 2899aa58 authored
      This is relevant to #11371.