summaryrefslogtreecommitdiff
path: root/testsuite/tests/mdo/should_fail
Commit message (Collapse)AuthorAgeFilesLines
* Support new parser types in GHCAlfredo Di Napoli2021-05-261-1/+1
| | | | | | | | | | | | | | This commit converts the lexers and all the parser machinery to use the new parser types and diagnostics infrastructure. Furthermore, it cleans up the way the parser code was emitting hints. As a result of this systematic approach, the test output of the `InfixAppPatErr` and `T984` tests have been changed. Previously they would emit a `SuggestMissingDo` hint, but this was not at all helpful in resolving the error, and it was even confusing by just looking at the original program that triggered the errors. Update haddock submodule
* Add -Wnoncanonical-{monad,monoid}-instances to standardWarningsFumiaki Kinoshita2020-10-141-2/+1
| | | | | | | | | ------------------------- Metric Decrease: T12425 Metric Increase: T17516 -------------------------
* Add custom exception for fixIODavid Feuer2017-11-021-1/+1
| | | | | | | | | | | | | | | | Traditionally, `fixIO f` throws `BlockedIndefinitelyOnMVar` if `f` is strict. This is not particularly friendly, since the `MVar` in question is just part of the way `fixIO` happens to be implemented. Instead, throw a new `FixIOException` with a better explanation of the problem. Reviewers: austin, hvr, bgamari Subscribers: rwbarton, thomie GHC Trac Issues: #14356 Differential Revision: https://phabricator.haskell.org/D4113
* Fixed error messages for RecursiveDo (#8501)Rupert Horlick2017-03-291-2/+2
| | | | | | | | | | | | | | | | | Changes in a few different places to catch several different types of error related to RecursiveDo Signed-off-by: Rupert Horlick <ruperthorlick@gmail.com> Test Plan: Three test cases, with further tests in comments Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D3271
* Testsuite: tabs -> spaces [skip ci]Thomas Miedema2016-06-201-1/+1
|
* Testsuite: delete Windows line endings [skip ci] (#11631)Thomas Miedema2016-02-231-12/+12
|
* Testsuite: delete *.stderr-ghc-7.0 *.stdout-ghc-7.0Thomas Miedema2015-07-144-25/+0
| | | | No point in pretending the testsuite can be run with older versions of GHC.
* Remove all *.stderr/stdout-hugs filesThomas Miedema2015-07-065-5/+0
|
* ghc generates more user-friendly error messagesMike Izbicki2014-11-191-1/+3
| | | | | | | | | | Test Plan: Compiled ghc fine. Opened ghci and fed it invalid code. It gave the improved error messages in response. Reviewers: austin Subscribers: thomie, simonpj, spacekitteh, rwbarton, simonmar, carter Differential Revision: https://phabricator.haskell.org/D201
* Use U+2018 instead of U+201B quote mark in compiler messagesHerbert Valerio Riedel2014-02-254-5/+5
| | | | | | | 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>
* Different quotes in error messages following lexer clean-upSimon Peyton Jones2013-12-051-1/+1
|
* Fix most AMP warnings.Austin Seipp2013-09-081-0/+10
| | | | | Authored-by: David Luposchainsky <dluposchainsky@gmail.com> Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Update outputs following the unicode quote change in GHC's outputIan Lynagh2013-02-243-4/+4
|
* A ton of error message wibblesSimon Peyton Jones2012-09-211-8/+6
| | | | | | Notably * Showing relevant bindings * Not suggesting add instance (Num T); see Trac #7222
* New tests for Trac #4148Simon Peyton Jones2012-06-122-0/+13
|
* Update test output for mdo changes (Trac #4148)Simon Peyton Jones2012-06-125-12/+1
|
* Error message modifications for the new constraint solver.Dimitrios Vytiniotis2011-11-161-11/+11
|
* Move tests from tests/ghc-regress/* to just tests/*David Terei2011-07-2021-0/+152