Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Entirely re-jig the handling of default type-family instances (fixes Trac #9063) | Simon Peyton Jones | 2014-07-15 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In looking at Trac #9063 I decided to re-design the default instances for associated type synonyms. Previously it was all jolly complicated, to support generality that no one wanted, and was arguably undesirable. Specifically * The default instance for an associated type can have only type variables on the LHS. (Not type patterns.) * There can be at most one default instances declaration for each associated type. To achieve this I had to do a surprisingly large amount of refactoring of HsSyn, specifically to parameterise HsDecls.TyFamEqn over the type of the LHS patterns. That change in HsDecls has a (trivial) knock-on effect in Haddock, so this commit does a submodule update too. The net result is good though. The code is simpler; the language specification is simpler. Happy days. Trac #9263 and #9264 are thereby fixed as well. | ||||
* | Add -XBinaryLiterals language extension (re #9224) | Herbert Valerio Riedel | 2014-06-27 | 7 | -0/+41 |
| | | | | | | | | | | | | | | | | | | | | | | | Haskell2010 supports - base-10 (prefix-less), - base-8 (via `0[oO]`-prefix), and - base-16 (via `0[xX]`-prefix) integer literals. This commit adds syntax support for base-2 integer literals via the new `0[bB]` prefix. The use of a `0b` prefix for indicating binary literals is known from popular programming languages such as C++14, Perl, Python, Ruby, and Java. This syntax extension is disabled by default and can be enabled via the new `{-# LANGUAGE BinaryLiterals #-}` pragma and/or the new `-XBinaryLiterals` This new extensions requires to upgrade the `ExtsBitmap` type from `Word` to `Word64` as this adds a 33th flag which is not guaranteed to fit into a `Word`. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org> Differential Revision: https://phabricator.haskell.org/D22 | ||||
* | Use U+2018 instead of U+201B quote mark in compiler messages | Herbert Valerio Riedel | 2014-02-25 | 32 | -62/+62 |
| | | | | | | | 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> | ||||
* | More different quotes in error messages following lexer clean-up | Joachim Breitner | 2013-12-05 | 1 | -1/+1 |
| | |||||
* | Different quotes in error messages following lexer clean-up | Simon Peyton Jones | 2013-12-05 | 14 | -14/+14 |
| | |||||
* | Wibble | Krzysztof Gogolewski | 2013-11-17 | 2 | -2/+2 |
| | |||||
* | Error message wibbles | Simon Peyton Jones | 2013-11-06 | 2 | -4/+8 |
| | |||||
* | Test Trac #8506 | Simon Peyton Jones | 2013-11-06 | 3 | -0/+11 |
| | |||||
* | Error messsage wibbles | Simon Peyton Jones | 2013-11-06 | 1 | -32/+0 |
| | |||||
* | Add a timeout for #8431 | Krzysztof Gogolewski | 2013-10-12 | 1 | -1/+1 |
| | |||||
* | Test #8431 | Krzysztof Gogolewski | 2013-10-12 | 3 | -0/+4 |
| | |||||
* | Test #8430 | Krzysztof Gogolewski | 2013-10-12 | 3 | -0/+9 |
| | |||||
* | Adjust test suite to new Language Pragma warnigns | Joachim Breitner | 2013-09-14 | 17 | -25/+24 |
| | | | | (this is related to #3647) | ||||
* | Error message wibbles | Simon Peyton Jones | 2013-09-10 | 2 | -9/+9 |
| | | | | | | | | | | | | Almost all are re-orderings of relevant-binding output Relevant bindings include + m :: Map (a, b) elt (bound at T3169.hs:12:17) + b :: b (bound at T3169.hs:12:13) lookup :: (a, b) -> Map (a, b) elt -> Maybe elt (bound at T3169.hs:12:3) - b :: b (bound at T3169.hs:12:13) - m :: Map (a, b) elt (bound at T3169.hs:12:17) | ||||
* | Test case for #7901. | Anders Papitto | 2013-08-18 | 3 | -0/+12 |
| | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> | ||||
* | Add a test for 2 trailing commas in the module export list | Ian Lynagh | 2013-05-19 | 3 | -0/+6 |
| | |||||
* | Add a test for #7848 | Ian Lynagh | 2013-04-21 | 3 | -0/+31 |
| | |||||
* | Wibbles to "main is not defined in Main" messagse | Simon Peyton Jones | 2013-04-15 | 1 | -1/+1 |
| | |||||
* | Update outputs following the unicode quote change in GHC's output | Ian Lynagh | 2013-02-24 | 15 | -51/+52 |
| | |||||
* | Convert more helper functions | Ian Lynagh | 2013-02-11 | 1 | -3/+3 |
| | |||||
* | Accept output for readFail007 | Ian Lynagh | 2013-02-01 | 1 | -1/+3 |
| | |||||
* | Add a test for #984 | Ian Lynagh | 2013-02-01 | 3 | -0/+14 |
| | |||||
* | A ton of error message wibbles | Simon Peyton Jones | 2012-09-21 | 1 | -3/+15 |
| | | | | | | Notably * Showing relevant bindings * Not suggesting add instance (Num T); see Trac #7222 | ||||
* | Added MultiWayIf tests. | Mikhail Vorozhtsov | 2012-07-16 | 3 | -0/+11 |
| | |||||
* | Added LambdaCase tests. | Mikhail Vorozhtsov | 2012-07-16 | 3 | -0/+7 |
| | |||||
* | Adapt tests to change in a parser error message. | Paolo Capriotti | 2012-06-29 | 4 | -4/+5 |
| | |||||
* | Error message modifications following ghc-new-solver modifications | Dimitrios.Vytiniotis | 2012-04-04 | 1 | -12/+36 |
| | |||||
* | Error message wibbles following TyClDecl/HsTyDefn refactoring | Simon Peyton Jones | 2012-03-26 | 1 | -4/+4 |
| | |||||
* | Modified error output and new tests for PolyKinds commit | Simon Peyton Jones | 2012-03-02 | 1 | -2/+3 |
| | |||||
* | Adapt test output | Jose Pedro Magalhaes | 2012-01-16 | 1 | -2/+2 |
| | |||||
* | Error message wibbles for new CoAxiom story | Simon Peyton Jones | 2012-01-04 | 1 | -0/+2 |
| | |||||
* | Update test suite following the removal of the default grouping | Simon Peyton Jones | 2011-11-17 | 2 | -1/+3 |
| | | | | clause from the SQL-like comprehension notation | ||||
* | Error message modifications for the new constraint solver. | Dimitrios Vytiniotis | 2011-11-16 | 1 | -36/+12 |
| | |||||
* | add test for #5425 | Simon Marlow | 2011-10-10 | 3 | -0/+10 |
| | |||||
* | Accept error message wibble | Simon Peyton Jones | 2011-09-29 | 1 | -1/+1 |
| | |||||
* | Add tests for NoTraditionalRecordSyntax | Ian Lynagh | 2011-09-27 | 7 | -0/+32 |
| | |||||
* | Accept error message wibbles | Simon Peyton Jones | 2011-09-01 | 2 | -9/+8 |
| | |||||
* | Move tests from tests/ghc-regress/* to just tests/* | David Terei | 2011-07-20 | 153 | -0/+1049 |