1. 22 Dec, 2015 8 commits
    • Simon Peyton Jones's avatar
      Fix grouping for pattern synonyms · 29928f29
      Simon Peyton Jones authored
      When grouping pattern synonyms in the desugarer, to find when a single
      match will work for the whole group, we use `Match.sameGroup`.  But this
      function was declaring two pattern-synonym matches equal to often.
      Result: Lint errors and broken semantics.
      The fix is easy.  See Note [Pattern synonym groups].
      Re-do typechecking for pattern synonym signatures
      Test Plan: Validate
      Reviewers: austin
      Subscribers: thomie, mpickering, simonpj
      Differential Revision: https://phabricator.haskell.org/D1684
    • Herbert Valerio Riedel's avatar
      Update stm submodule to v2.4.4.1 release · 6eabd93d
      Herbert Valerio Riedel authored
      This `stm` release also addresses #10967
    • Ryan Scott's avatar
      Rework Template Haskell's handling of strictness · f975b0b1
      Ryan Scott authored
      Currently, Template Haskell's treatment of strictness is not enough to
      cover all possible combinations of unpackedness and strictness. In
      addition, it isn't equipped to deal with new features (such as
      `-XStrictData`) which can change a datatype's fields' strictness during
      To address this, I replaced TH's `Strict` datatype with
      `SourceUnpackedness` and `SourceStrictness` (which give the programmer a
      more complete toolkit to configure a datatype field's strictness than
      just `IsStrict`, `IsLazy`, and `Unpack`). I also added the ability to
      reify a constructor fields' strictness post-compilation through the
      `reifyConStrictness` function.
      Fixes #10697.
      Test Plan: ./validate
      Reviewers: simonpj, goldfire, bgamari, austin
      Reviewed By: goldfire, bgamari
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D1603
      GHC Trac Issues: #10697
    • Alan Zimmerman's avatar
      Retain AnnTilde in splitTildeApps · b407bd77
      Alan Zimmerman authored
      splitTildeApps can introduce a new HsAppInfix for a tilde, with a fresh
      SrcSpan, disconnecting its existing AnnTilde API Annotation.
      A tilde needs AnnTilde to render properly, this patch adds a new one on
      the fresh SrcSpan
    • Simon Peyton Jones's avatar
      Comments only, about coercion holes · ea3f733a
      Simon Peyton Jones authored
      Richard, pls take a look
    • Herbert Valerio Riedel's avatar
      Update Cabal submodule to latest snapshot · 44de66b6
      Herbert Valerio Riedel authored
      The addition of several new Semigroup instances caused
      a Haddock allocation increase.
    • Alan Zimmerman's avatar
      Make HsAppsType contents Located · ff923954
      Alan Zimmerman authored
      An HsAppInfix can carry a qconop/varop preceded by a SIMPLEQUOTE as a
      Located RdrName.
      In this case AnnSimpleQuote is attached to the Located HsAppType.
          | SIMPLEQUOTE qconop            {% ams (sLL $1 $> $ HsAppInfix $2)
                                                 [mj AnnSimpleQuote $1] }
          | SIMPLEQUOTE varop             {% ams (sLL $1 $> $ HsAppInfix $2)
                                                 [mj AnnSimpleQuote $1] }
      This patch changes
          data HsType name
            | HsAppsTy [HsAppType name]
          data HsType name
            | HsAppsTy [LHsAppType name]
      so that the annotation is not discarded when it reaches the ParsedSource
    • Tamar Christina's avatar
      Fix GHCi segfault in Windows 32bit · aa7fb9a6
      Tamar Christina authored
      Add missing calling convention to function pointer,
      incorrect `cdecl` calling convention which should be `stdcall`
      on x86 was causing the stack to be corrupted. When it tried to
      return from the function the return pointer would be invalid.
      Test Plan: ./validate
      Reviewers: austin, erikd, bgamari, thomie
      Reviewed By: bgamari, thomie
      Differential Revision: https://phabricator.haskell.org/D1683
      GHC Trac Issues: #11234
  2. 21 Dec, 2015 25 commits
  3. 20 Dec, 2015 7 commits