summaryrefslogtreecommitdiff
path: root/testsuite/tests/module
Commit message (Collapse)AuthorAgeFilesLines
* Extend `Foldable` class with `length` and `null` methodsHerbert Valerio Riedel2014-09-281-1/+1
| | | | | | | | | | | | | 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
* Move `mapM` and `sequence` to GHC.Base and break import-cyclesHerbert Valerio Riedel2014-09-211-2/+2
| | | | | | | | | | 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
* Package keys (for linking/type equality) separated from package IDs.Edward Z. Yang2014-08-052-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Make mod73 test insensitive to minor variations (#9325)Reid Barton2014-07-301-1/+10
|
* Update mod73 test outputJoachim Breitner2014-06-061-2/+2
| | | | | to what I observe on travis and on my validate machine, even though my local tree produces the previous output.
* Add testcase for #9177 and adjust test outputJoachim Breitner2014-06-063-5/+7
|
* Fix over-zealous unused-import warningSimon Peyton Jones2014-05-052-0/+7
| | | | | | See Note [Un-warnable import decls] in RnNames. Fixes Trac #9061.
* Use U+2018 instead of U+201B quote mark in compiler messagesHerbert Valerio Riedel2014-02-2598-189/+189
| | | | | | | 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>
* s/warn-type-holes/warn-typed-holes/gAustin Seipp2014-01-151-1/+1
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* Turn -XTypeHoles into a (on by default) warningAustin Seipp2014-01-142-1/+2
| | | | | | | | | | | | | | 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>
* Changes in error messages when fixing Trac #8649Simon Peyton Jones2014-01-091-2/+2
| | | | Mostly improvements, happily
* Error wibbles while fixing #8607.Richard Eisenberg2013-12-261-1/+1
|
* Different quotes in error messages following lexer clean-upSimon Peyton Jones2013-12-051-1/+1
|
* Wibbles following fix to Trac #8278Simon Peyton Jones2013-11-061-1/+4
| | | | | | 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.
* Error messsage wibblificationSimon Peyton Jones2013-10-046-15/+15
|
* Adjust test suite to new Language Pragma warnignsJoachim Breitner2013-09-144-4/+4
| | | | (this is related to #3647)
* Wibbles to "main is not defined in Main" messagseSimon Peyton Jones2013-04-152-3/+2
|
* Update outputs following the unicode quote change in GHC's outputIan Lynagh2013-02-2497-207/+206
|
* Convert more helper functionsIan Lynagh2013-02-112-2/+2
|
* Error message change for duplicate type signaturesSimon Peyton Jones2012-10-261-5/+5
|
* Tons of error message wibblesSimon Peyton Jones2012-09-281-3/+2
|
* A ton of error message wibblesSimon Peyton Jones2012-09-211-1/+0
| | | | | | Notably * Showing relevant bindings * Not suggesting add instance (Num T); see Trac #7222
* acceptSimon Marlow2012-09-061-2/+2
|
* Error message wibblesSimon Peyton Jones2012-04-231-2/+2
|
* Error message wibbles following TyClDecl/HsTyDefn refactoringSimon Peyton Jones2012-03-263-15/+15
|
* Update error message for malformed sub-ordinates.Iavor S. Diatchki2012-03-181-1/+1
| | | | | | | | 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`.
* Modified error output and new tests for PolyKinds commitSimon Peyton Jones2012-03-021-6/+6
|
* Accept error message changes in response to Trac #5860Simon Peyton Jones2012-02-101-4/+4
|
* Fix mod175: Tell make to be quietIan Lynagh2012-01-291-1/+1
|
* mod175 now passes: #437 is fixedIan Lynagh2012-01-291-2/+1
|
* Test Trac #5676, and wibble to error message on mod45Simon Peyton Jones2011-12-121-2/+6
|
* Define the GHC "compiler_always_flags" in make; fixes trac #5213Ian Lynagh2011-11-171-2/+2
| | | | We now pass the "always" flags to Makefile tests as well as python tests.
* Fix old tests for new superclass cycle error messageMax Bolingbroke2011-10-221-3/+6
|
* update error messagesSimon Marlow2011-09-217-8/+8
|
* Test the ConstraintKind extension and related changesMax Bolingbroke2011-09-061-5/+5
|
* Error message wibblesSimon Peyton Jones2011-09-023-6/+6
|
* Accept error message wibbleSimon Peyton Jones2011-08-081-2/+2
| | | | Part of fixing Trac #5385.
* Spelling suggestion has changedSimon Peyton Jones2011-08-031-1/+1
| | | | | | | | | | 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)
* Error message changes due to pretty-printing of provenancesSimon Peyton Jones2011-08-0214-33/+56
|
* Track error changes resulting from fix to #5281Simon Peyton Jones2011-07-274-5/+5
|
* Move tests from tests/ghc-regress/* to just tests/*David Terei2011-07-20474-0/+2493