| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds two tests (one for Trac #4340 and one for Trac #10272), as well as
advice on how to fix your code if `hsc2hs` emits warnings with GHC 8.0
due to a redefinition of `#alignment`. (I also put the advice in the
[GHC 8.0 Migration
Guide](https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0).)
Reviewed By: thomie
Differential Revision: https://phabricator.haskell.org/D1663
GHC Trac Issues: #4340, #10272
|
|
|
|
| |
[skip-ci]
|
|
|
|
| |
Fixes #4340
|
| |
|
|
|
|
|
|
| |
This was broken in 4905b83a2d448c65ccced385343d4e8124548a3b.
libraries/ghci/ghc.mk gets created by ./boot.
|
|
|
|
|
|
| |
This is the designated release to go with GHC 8.0.1
/cc @judah
|
|
|
|
|
|
| |
This is the designated release to go with GHC 8.0.1
/cc @judah
|
|
|
|
|
|
|
|
|
|
|
|
| |
Test Plan: Build an AArch64 cross compiler.
Reviewers: hvr, bgamari, austin
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1654
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Before:
[1 of 1] Compiling Main ( Main.hs, Main.o )
You are using a new version of LLVM that hasn't been tested yet!
We will try though...
After:
[1 of 1] Compiling Main ( Main.hs, Main.o )
You are using an unsupported version of LLVM!
Currently only 3.7 is supported.
We will try though...
Before:
[1 of 1] Compiling Main ( Main.hs, Main.o )
<no location info>:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM
ghc: could not execute: opt
After:
[1 of 1] Compiling Main ( Main.hs, Main.o )
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM 3.7
ghc-stage1: could not execute: opt
Reviewers: austin, rwbarton, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1658
|
|
|
|
|
|
|
|
| |
Reviewers: austin
Subscribers: thomie, ezyang
Differential Revision: https://phabricator.haskell.org/D1653
|
|
|
|
|
|
|
|
|
|
|
|
| |
Test Plan: validate
Reviewers: austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1655
GHC Trac Issues: #11122
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This type is occurs very often but previously had multiple, meaning it
could not be unboxed. Even worse, these constructors didn't offer any
compelling safety benefits. Thankfully, the type is abstract, so
changing the representation to be a single-constructor type was quite
straightforward.
Reviewers: austin
Subscribers: alanz, thomie, hvr
Differential Revision: https://phabricator.haskell.org/D1657
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the pattern-match check we are looking for a proof of
*unsatisfiablity* among a bunch of givens. The unsat-ness might be
hidden in the superclasses, so we must expand them. But in the common
case where the constraints are satisfiable, we don't want to expand
a recursive superclass forever.
This is all a bit arbitrary, but then the whole question is
undecidable anyway.
The bug in Trac #10592 comment:12 was that I expanded superclasses
forever. This patch fixes it.
|
| |
|
|
|
|
| |
Last naming change... I promise.
|
|
|
|
| |
See https://github.com/snowleopard/shaking-up-ghc/pull/2
|
| |
|
|
|
|
|
|
| |
Turns out Win32 wasn't de-tabbed yet... sigh...
[skip ci]
|
| |
|
|
|
|
| |
This is the designated release to go with GHC 8.0.1
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Replace incorrect `ppc_HOST_ARCH` with `powerpc_HOST_ARCH`.
Test Plan: Build on PowerPC
Reviewers: hvr, austin, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1651
|
|
|
|
|
|
|
| |
So far only `time` (fixed upstream already though) and `xhtml` still require
`-Wno-tabs`, so let's apply that warning suppression flag only there.
This also updates the haskeline submodule to pull in a tab-fix
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libraries/ghci/GHCi/InfoTable.hsc:249:45: error:
• Variable not in scope: fromJust :: Maybe EntryFunPtr -> a0
• Perhaps you meant ‘fromList’ (imported from GHC.Exts)
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Test Plan: build --enable-unregisterised ghc
Reviewers: simonmar, bgamari, austin
Reviewed By: austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1649
|
|
|
|
| |
[skip ci]
|
|
|
|
|
|
|
|
|
| |
This is the designated release to go with GHC 8.0.1
This release doesn't need any warning-suppression flags anymore, so
remove those from mk/warnings.mk
/cc @foxik
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These modules were previously provided by the `transformers`
package. Hence the submodule update.
This patch was originally contributed by M Farkas-Dyck and
subsequently taken over and completed by Ryan.
The original proposal discussion can be found at
https://mail.haskell.org/pipermail/libraries/2015-July/026014.html
This addresses #11135
Differential Revision: https://phabricator.haskell.org/D1543
|
|
|
|
| |
This should fix validate on Travis.
|
|
|
|
|
| |
And fix a redundant constraint warning in a test that requires
primitive.
|
|
|
|
|
|
|
|
| |
Useful for testing 'make binary-dist-prep' when HADDOCK_DOCS=NO.
Reviewed by: bgamari
Differential Revision: https://phabricator.haskell.org/D1648
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't use the GNU make function 'realpath' (reverting e66a81c6),
because it doesn't handle spaces in paths. Instead, use 'cygpath' to
convert Windows style paths (e.g. C:/foo/) to mingw style paths (e.g.
c/foo/), and then call 'which'.
Tests:
* make TEST_HC=ghc
* make TEST_HC=/d/home/thomie/ghc-validate/bindisttest/install\ \ \ dir/bin/ghc
* make TEST_HC=D:/home/thomie/ghc-validate/bindisttest/install\ \ \ dir/bin/ghc
Reviewed by: Phyx
Differential Revision: https://phabricator.haskell.org/D1431
|
|
|
|
|
|
|
|
|
| |
This follows a similar change in
4905b83a2d448c65ccced385343d4e8124548a3b, where binaries are installed
in libexecdir/bin instead of libexecdir.
This fixes a problem with ghc not able to find ghc-split, when
SplitObjs=YES.
|
|
|
|
|
|
|
|
| |
Previously, we were optimizing away all case expressions over
coercions with dead binders. But sometimes we want to force
the coercion expression. Like when it contains an error.
Test case: typecheck/should_run/T11230
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, tcTyClTyVars required that the names of the LHsQTyVars
matched up exactly with the names of the kind of the given TyCon.
It now does a bit of matching up when necessary to relax this
restriction.
This commit enables a few tests that had previously been disabled.
The shortcoming this addresses is discussed in #11203, but that
ticket is not directly addressed here.
Test case: polykinds/SigTvKinds, perf/compiler/T9872d
|
|
|
|
|
|
|
| |
* hSetEcho, hGetEcho and hIsTerminalDevice are part of the Haskell2010
report (but not Haskell98)
* there are great `Note`s in GHC.IO.Handle.Types. Link to them.
|
|
|
|
|
| |
The test for TemplateHaskell was removed in
09015be8d580bc33f5f1960c8e31d00ba7a459a1.
|
|
|
|
|
|
| |
Verified by running:
make TEST='exceptionsrun001 T3279 conc012 conc014' slowtest
|
|
|
|
|
|
| |
Cabal is currently warning free. So let's drop the `-w`-flags.
/cc @dcoutts
|
|
|
|
| |
Due to differences in assembly syntax. See #11022.
|
|
|
|
| |
Sad.
|
|
|
|
| |
Previously it didn't build on Windows.
|
| |
|
|
|
|
| |
In particular, add parnes when we need an explicit type.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: thomie, austin, bgamari
Reviewed By: thomie, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1625
GHC Trac Issues: #10662
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See `Note [Reifying field labels]` in `TcSplice`. This makes
typical uses of TH work better with `DuplicateRecordFields`.
If `reify` is called on the `Name` of a field label produced by
the output of a previous `reify`, and there are multiple fields
with that label defined in the same module, it may fail with
an ambiguity error.
Test Plan:
Added tests, and manually tested that this makes
Aeson's `deriveJSON` avoid the `$sel:` prefixes.
Reviewers: simonpj, goldfire, austin, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1586
GHC Trac Issues: #11103
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I somehow forgot to propagate roles into UnivCos. Very
simple fix, happily.
Test Plan: simplCore/should_compile/T11232
Reviewers: bgamari, austin, simonpj
Reviewed By: simonpj
Subscribers: simonpj, thomie
Differential Revision: https://phabricator.haskell.org/D1645
GHC Trac Issues: #11232
|