Skip to content

Tags: 102451/ghc

Tags

ghc-8.10.2-release

Toggle ghc-8.10.2-release's commit message

Verified

This tag was signed with the committer’s verified signature.
bgamari Ben Gamari
Release 8.10.2

ghc-8.10.2-rc2

Toggle ghc-8.10.2-rc2's commit message
Release GHC 8.10.2

ghc-8.10.2-rc1

Toggle ghc-8.10.2-rc1's commit message
Release GHC 8.10.2

ghc-8.8.4-release

Toggle ghc-8.8.4-release's commit message

Verified

This tag was signed with the committer’s verified signature.
bgamari Ben Gamari
Release 8.8.4

ghc-8.8.4-rc1

Toggle ghc-8.8.4-rc1's commit message
gitlab-ci: Bootstrap with 8.8.4-rc1 on Windows

This avoids bugs in the `process` library during bootstrapping.

ghc-8.10.1-release

Toggle ghc-8.10.1-release's commit message
Bump Haddock submodule for 2.24 release

ghc-8.8.3-release

Toggle ghc-8.8.3-release's commit message

Verified

This tag was signed with the committer’s verified signature.
bgamari Ben Gamari
Release 8.8.3

ghc-8.8.3-pre

Toggle ghc-8.8.3-pre's commit message
Fix #17724 by having occAnal preserve used bindings.

It sometimes happened that occAnal would remove bindings
as dead code by relying on bindings to be in dependency
order. The fix was contributed by SPJ.

ghc-8.10.1-rc1

Toggle ghc-8.10.1-rc1's commit message
Use splitLHs{ForAll,Sigma}TyInvis throughout the codebase

Richard points out in #17688 that we use `splitLHsForAllTy` and
`splitLHsSigmaTy` in places that we ought to be using the
corresponding `-Invis` variants instead, identifying two bugs
that are caused by this oversight:

* Certain TH-quoted type signatures, such as those that appear in
  quoted `SPECIALISE` pragmas, silently turn visible `forall`s into
  invisible `forall`s.
* When quoted, the type `forall a -> (a ~ a) => a` will turn into
  `forall a -> a` due to a bug in `DsMeta.repForall` that drops
  contexts that follow visible `forall`s.

These are both ultimately caused by the fact that `splitLHsForAllTy`
and `splitLHsSigmaTy` split apart visible `forall`s in addition to
invisible ones. This patch cleans things up:

* We now use `splitLHsForAllTyInvis` and `splitLHsSigmaTyInvis`
  throughout the codebase. Relatedly, the `splitLHsForAllTy` and
  `splitLHsSigmaTy` have been removed, as they are easy to misuse.
* `DsMeta.repForall` now only handles invisible `forall`s to reduce
  the chance for confusion with visible `forall`s, which need to be
  handled differently. I also renamed it from `repForall` to
  `repForallT` to emphasize that its distinguishing characteristic
  is the fact that it desugars down to `L.H.TH.Syntax.ForallT`.

Fixes #17688.

(cherry picked from commit 18c0d03)

ghc-8.8.2-release

Toggle ghc-8.8.2-release's commit message

Verified

This tag was signed with the committer’s verified signature.
bgamari Ben Gamari
Release 8.8.2