summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger
Commit message (Collapse)AuthorAgeFilesLines
* Export `Monoid(..)`/`Foldable(..)`/`Traversable(..)` from PreludeHerbert Valerio Riedel2014-09-213-6/+7
| | | | | | | | | | | | | | | This finally exposes also the methods of these 3 classes in the Prelude in order to allow to define basic class instances w/o needing imports. This almost completes the primary goal of #9586 NOTE: `fold`, `foldl'`, `foldr'`, and `toList` are not exposed yet, as they require upstream fixes for at least `containers` and `bytestring`, and are not required for defining basic instances. Reviewed By: ekmett, austin Differential Revision: https://phabricator.haskell.org/D236
* Wibbles to "...plus N others" error message about instances in scopeSimon Peyton Jones2014-08-282-7/+5
| | | | I this this arises from my de-orphaning the Enum Word instance
* Add test case for #9046Vitaly Bragilevsky2014-08-193-0/+5
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* Complete work on new OVERLAPPABLE/OVERLAPPING pragmas (Trac #9242)Simon Peyton Jones2014-07-311-2/+2
| | | | | | | | | | | | | | | | | * Deprecate -XOverlappingInstances * Update test suite. Several tests even had entirely unnecessary uses of -XOverlappingInstances * Update user manual with a careful description of the instance resolution story * Fix an outright bug in the handling of duplidate instances in GHCi, which are meant to silently overwrite the earlier duplicate. The logic was right for family instances but was both more complicated, and plain wrong, for class instances. (If you are interested, the bug was that we were eliminating the duplicate from the InstEnv, but not from the [ClsInst] held in tcg_insts.) Test is ghci044a.
* Deprecate the AMP warnings.Austin Seipp2014-04-202-3/+3
| | | | | | | | Now that we're in development mode, Applicative will soon be a superclass of Monad in HEAD. So let's go ahead and deprecate the -fno-warn-amp flag, remove the checks, and tweak a few tests Signed-off-by: Austin Seipp <austin@well-typed.com>
* Use U+2018 instead of U+201B quote mark in compiler messagesHerbert Valerio Riedel2014-02-256-16/+16
| | | | | | | 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>
* In CoreSubst, optimize Coercible values aggressivelyJoachim Breitner2014-02-111-3/+3
| | | | just like boxed type equalities.
* Tidy up Outputable.printDoc, and add printDoc_Simon Peyton Jones2014-01-171-3/+0
| | | | | | The former adds a newline at the end (restoring the previous behaviour) while the latter does not (which previously happened by turning the thuing into a string and only then printing it).
* Test Trac #8557Simon Peyton Jones2013-11-284-0/+12
|
* Fixed Trac #8540Simon Peyton Jones2013-11-281-3/+3
|
* Error message wibblesSimon Peyton Jones2013-11-283-8/+8
|
* Mark break006 break003 print019 as broken by #8540Joachim Breitner2013-11-241-3/+3
| | | | ...when debugging is on, to keep builds reports clean.
* Update test output of print018Joachim Breitner2013-11-221-6/+6
| | | | | It seems that “Use bindLocalNamesFV in rn_inst_info” makes some names nicer in the debugger output.
* Fix fallout from making lazy unlifted bindings an errorAustin Seipp2013-09-292-35/+4
| | | | | | Issue #8022 Signed-off-by: Austin Seipp <austin@well-typed.com>
* Follow changes in comparison primops (see #6135)Jan Stolarek2013-09-181-3/+3
|
* Trailing whitespacesJan Stolarek2013-09-181-23/+23
|
* Fix remaining AMP fallout.Austin Seipp2013-09-112-3/+3
| | | | | | | | The perf tests can probably be rechecked and tightened a little; I fixed them with AMP the other day but some changes since then have made them wibble perhaps. Signed-off-by: Austin Seipp <austin@well-typed.com>
* Fix most AMP warnings.Austin Seipp2013-09-082-2/+12
| | | | | Authored-by: David Luposchainsky <dluposchainsky@gmail.com> Signed-off-by: Austin Seipp <aseipp@pobox.com>
* print035 now passes (see #7382)Austin Seipp2013-08-141-4/+2
| | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Update outputs following the unicode quote change in GHC's outputIan Lynagh2013-02-247-19/+19
|
* Add extra cleaning for print035Ian Lynagh2013-02-161-1/+2
|
* Remove uses of compose(s) in tests, and change how composition is handledIan Lynagh2013-02-141-3/+3
| | | | The driver now also supports nested lists of setup functions
* Error message wibbles when adding overloaded listsSimon Peyton Jones2013-02-147-26/+26
|
* Fix result001Ian Lynagh2013-02-112-1/+5
|
* print020 now passesIan Lynagh2013-02-111-1/+1
|
* Update print020 expected outputIan Lynagh2013-02-111-2/+2
|
* HappyTest needs MagicHashIan Lynagh2013-02-111-1/+1
|
* Add expected warnings for print020Ian Lynagh2013-02-111-0/+31
|
* Convert more helper functionsIan Lynagh2013-02-113-4/+4
|
* Rename some numeric tests: nnnn -> TnnnnIan Lynagh2013-01-254-4/+4
|
* Test Trac #7386Simon Peyton Jones2012-11-064-0/+15
|
* acceptSimon Marlow2012-10-301-2/+2
|
* Merge branch 'master' of http://darcs.haskell.org//testsuiteSimon Peyton Jones2012-10-191-1/+4
|\
| * print035(ghci) fails when ghci is dynamicIan Lynagh2012-10-131-1/+4
| |
* | Minor changes to tidyingSimon Peyton Jones2012-10-193-8/+8
| |
* | Replace Rank2Types and PolymorphicComponents by RankNTypesSimon Peyton Jones2012-10-194-4/+4
|/
* A ton of error message wibblesSimon Peyton Jones2012-09-213-1/+3
| | | | | | Notably * Showing relevant bindings * Not suggesting add instance (Num T); see Trac #7222
* Adapt tests to the removal of the MR in GHCiPaolo Capriotti2012-09-0317-22/+22
|
* Add tests for deriving Generic1Jose Pedro Magalhaes2012-06-212-3/+3
| | | | Most of these tests were written by Nicolas Frisby.
* Update test output for mdo changes (Trac #4148)Simon Peyton Jones2012-06-122-6/+0
|
* Merge remote-tracking branch 'origin/unboxed-tuple-arguments2'Paolo Capriotti2012-06-055-20/+48
|\
| * Testsuite update for unboxed tuples in argumentsMax Bolingbroke2012-05-155-20/+48
| | | | | | | | We are careful to test slow calls and RtClosureInspect, as well as standard fast calls
* | Follow the move of Word from base to ghc-primIan Lynagh2012-05-222-5/+7
|/
* Add combined_output option.Paolo Capriotti2012-04-231-6/+6
| | | | | | | | | Added an option to combine stdout and stderr into a single file. This is useful for ghci scripts that produce interleaved errors and normal output. Also modified check_stderr_ok so that it normalizes stderr in the same way as compile tests.
* Raft of wibbles after refactoring type-class constraint errorsSimon Peyton Jones2012-03-093-10/+19
| | | | ...in response to Trac #5858
* update outputSimon Marlow2012-02-161-1/+1
|
* Lots of error message wibbling, following theSimon Peyton Jones2012-01-127-18/+20
| | | | major TcErrors refactoring
* accept (better) outputSimon Marlow2011-11-022-4/+4
|
* print032 is not broken any moreSimon Marlow2011-11-022-6/+6
|
* update error messagesSimon Marlow2011-09-2110-24/+24
|