| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This completes the `Foldable` class by two important operations which
this way can be optimised for the underlying structure more easily.
A minor fix for the `containers` submodule was needed to due name clash
Addresses #9621
Reviewed By: ekmett, dfeuer, austin
Differential Revision: https://phabricator.haskell.org/D250
|
|
|
|
|
|
|
|
|
|
| |
This simplifies the import graph and more importantly removes import
cycles that arise due to `Control.Monad` & `Data.List` importing
`Data.Traversable` (preparation for #9586)
Reviewed By: ekmett, austin
Differential Revision: https://phabricator.haskell.org/D234
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch set makes us no longer assume that a package key is a human
readable string, leaving Cabal free to "do whatever it wants" to allocate
keys; we'll look up the PackageId in the database to display to the user.
This also means we have a new level of qualifier decisions to make at the
package level, and rewriting some Safe Haskell error reporting code to DTRT.
Additionally, we adjust the build system to use a new ghc-cabal output
Make variable PACKAGE_KEY to determine library names and other things,
rather than concatenating PACKAGE/VERSION as before.
Adds a new `-this-package-key` flag to subsume the old, erroneously named
`-package-name` flag, and `-package-key` to select packages by package key.
RFC: The md5 hashes are pretty tough on the eye, as far as the file
system is concerned :(
ToDo: safePkg01 test had its output updated, but the fix is not really right:
the rest of the dependencies are truncated due to the fact the we're only
grepping a single line, but ghc-pkg is wrapping its output.
ToDo: In a later commit, update all submodules to stop using -package-name
and use -this-package-key. For now, we don't do it to avoid submodule
explosion.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate
Reviewers: simonpj, simonmar, hvr, austin
Subscribers: simonmar, relrod, carter
Differential Revision: https://phabricator.haskell.org/D80
|
| |
|
|
|
|
|
| |
to what I observe on travis and on my validate machine, even though my
local tree produces the previous output.
|
| |
|
|
|
|
|
|
| |
See Note [Un-warnable import decls] in RnNames.
Fixes Trac #9061.
|
|
|
|
|
|
|
| |
This matches GCC's choice of Unicode quotation marks (i.e. U+2018 and U+2019)
and therefore looks more familiar on the console. This addresses #2507.
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
|
|
|
|
| |
Signed-off-by: Austin Seipp <austin@well-typed.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After some discussion on ghc-devs@ and elsewhere, it seemed favorable to
make this change as type holes don't let any invalid programs though,
they merely change what the compiler reports in case of certain errors
(namely unbound occurrences, or _ appearing on a LHS.)
Now, the warning mechanism is controlled by -f[no-]warn-type-errors,
just like any other regular warning. Again, on by default.
The documentation and tests have been updated accordingly.
Signed-off-by: Austin Seipp <austin@well-typed.com>
|
|
|
|
| |
Mostly improvements, happily
|
| |
|
| |
|
|
|
|
|
|
| |
The error message for ghci052 and ghci053 are (still)
terrible, because there is shadowing going on in the
interactive context. But that's a separate matter.
|
| |
|
|
|
|
| |
(this is related to #3647)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Notably
* Showing relevant bindings
* Not suggesting add instance (Num T); see Trac #7222
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
To make the parsing task a bit simpler, we allow sub-ordinate names
on all imports/exports. Because of this, malformed exports,
such as `map(..)` are not reported as a parsing error but, rather,
they are detected in a later pass as an export of a missing type/class
`map`.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
We now pass the "always" flags to Makefile tests as well as python tests.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Part of fixing Trac #5385.
|
|
|
|
|
|
|
|
|
|
| |
I'm not sure why this changed, but it's harmless so I'm accepting it
Perhaps you meant one of these:
`Prelude.id' (imported from Prelude),
`Prelude.gcd' (imported from Prelude),
- `Prelude.log' (imported from Prelude)
+ `Prelude.or' (imported from Prelude)
|
| |
|
| |
|
|
|