Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix whitespace in DriverMkDepend | Ian Lynagh | 2008-06-14 | 1 | -227/+226 |
| | |||||
* | Fix the last warnings in DynFlags | Ian Lynagh | 2008-06-14 | 1 | -8/+22 |
| | | | | | We might want to put the values initSysTools finds in their own type, rather than having them flattened into DynFlags | ||||
* | Pass dynflags down to loadPackageConfig rather than using defaultDynFlags | Ian Lynagh | 2008-06-14 | 2 | -4/+4 |
| | |||||
* | Make initSysTools use the dflags it is passed, rather than defaultDynFlags | Ian Lynagh | 2008-06-14 | 2 | -5/+3 |
| | |||||
* | Remove some unused bindings from HaddockLex | Ian Lynagh | 2008-06-14 | 1 | -5/+4 |
| | |||||
* | Pass dynflags down through to pragState | Ian Lynagh | 2008-06-14 | 4 | -17/+17 |
| | | | | so we no longer need to use defaultDynFlags there | ||||
* | Whitespace only in DynFlags | Ian Lynagh | 2008-06-14 | 1 | -534/+534 |
| | |||||
* | Define and use is_decdigit for lexing escapes; fixes trac #2304 | Ian Lynagh | 2008-06-13 | 2 | -5/+9 |
| | |||||
* | Make SysTools warning-free | Ian Lynagh | 2008-06-12 | 1 | -19/+12 |
| | |||||
* | Remove some CPPery with the help of a new value isWindowsHost in Util | Ian Lynagh | 2008-06-12 | 2 | -56/+57 |
| | | | | isWindowsHost is True iff mingw32_HOST_OS is defined. | ||||
* | Remove unused FFI import GetTempPathA (getTempPath) | Ian Lynagh | 2008-06-12 | 1 | -4/+0 |
| | |||||
* | Whitespace only, in SysTools | Ian Lynagh | 2008-06-11 | 1 | -275/+275 |
| | |||||
* | Get rid of the last remnants of PROJECT_DIR | Ian Lynagh | 2008-06-11 | 2 | -9/+1 |
| | | | | This disappeared when we stopped being "fptools" and became just "ghc" | ||||
* | Fix warnings in LexCore | Ian Lynagh | 2008-06-10 | 1 | -21/+27 |
| | |||||
* | Fix warnings in Ctype | Ian Lynagh | 2008-06-10 | 1 | -9/+8 |
| | |||||
* | Fix warnings in TcPat | Ian Lynagh | 2008-06-10 | 1 | -29/+29 |
| | |||||
* | Fix warnings in TcEnv | Ian Lynagh | 2008-06-10 | 1 | -17/+17 |
| | |||||
* | Fix warnings in TcRnTypes | Ian Lynagh | 2008-06-06 | 1 | -22/+31 |
| | |||||
* | Fix warnings in TcTyClsDecls | Ian Lynagh | 2008-06-06 | 1 | -20/+66 |
| | |||||
* | Fix warnings in TcHsType | Ian Lynagh | 2008-06-06 | 1 | -38/+42 |
| | |||||
* | Fix warnings in TcSimplify | Ian Lynagh | 2008-06-06 | 1 | -34/+34 |
| | |||||
* | Fix warnings in TcRules | Ian Lynagh | 2008-06-06 | 1 | -8/+2 |
| | |||||
* | Fix warnings in TcInstDcls | Ian Lynagh | 2008-06-06 | 1 | -12/+17 |
| | |||||
* | Fix warnings in TcMType | Ian Lynagh | 2008-06-06 | 1 | -36/+55 |
| | |||||
* | Fix warnings in TcForeign | Ian Lynagh | 2008-06-06 | 1 | -17/+30 |
| | |||||
* | Fix warnings in TcClassDcl | Ian Lynagh | 2008-06-06 | 1 | -17/+41 |
| | |||||
* | Fix a bug in eqPatType | Ian Lynagh | 2008-06-06 | 1 | -2/+2 |
| | | | | | | | One of the conditions we were checking was t2 `eqPatLType` t2 rather than t1 `eqPatLType` t2 | ||||
* | Show whether DEBUG is on in ghc --info | Ian Lynagh | 2008-06-06 | 1 | -1/+3 |
| | |||||
* | Fix Trac #2334: validity checking for type families | simonpj@microsoft.com | 2008-06-06 | 3 | -33/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | When we deal with a family-instance declaration (TcTyClsDecls.tcFamInstDecl) we must check the TyCon for validity; for example, that a newtype has exactly one field. That is done all-at-once for normal declarations, and had been forgotten altogether for families. I also refactored the interface to tcFamInstDecl1 slightly. A slightly separate matter: if there's an error in family instances (e.g. overlap) we get a confusing error message cascade if we attempt to deal with 'deriving' clauses too; this patch bales out earlier in that case. Another slightly separate matter: standalone deriving for family instances can legitimately have more specific types, just like normal data decls. For example data instance F [a] = ... deriving instance (Eq a, Eq b) => Eq (F [(a,b)]) So tcLookupFamInstExact can a bit more forgiving than it was. | ||||
* | Vital follow-up to fix of Trac #2045 | simonpj@microsoft.com | 2008-06-05 | 1 | -5/+2 |
| | | | | | | | | | Sorry -- my 'validate' didn't work right and I missed a trick. This patch must accompany * Fix Trac #2045: use big-tuple machiney for implication constraints | ||||
* | Fix Trac #2045: use big-tuple machiney for implication constraints | simonpj@microsoft.com | 2008-06-05 | 2 | -13/+13 |
| | |||||
* | Comments only | simonpj@microsoft.com | 2008-06-05 | 1 | -0/+17 |
| | |||||
* | Desugar multiple polymorphic bindings more intelligently | simonpj@microsoft.com | 2008-06-05 | 2 | -33/+142 |
| | | | | | | | | | | | | | | | | | | | | | | | | Occasionally people write very large recursive groups of definitions. In general we desugar these to a single definition that binds tuple, plus lots of tuple selectors. But that code has quadratic size, which can be bad. This patch adds a new case to the desugaring of bindings, for the situation where there are lots of polymorphic variables, but no dictionaries. (Dictionaries force us into the general case.) See Note [Abstracting over tyvars only]. The extra behaviour can be disabled with the (static) flag -fno-ds-multi-tyvar in case we want to experiment with switching it on or off. There is essentially-zero effect on the nofib suite though. I was provoked into doing this by Trac #1136. In fact I'm not sure it's the real cause of the problem there, but it's a good idea anyway. | ||||
* | Add non-recursive let-bindings for types | simonpj@microsoft.com | 2008-06-05 | 6 | -88/+61 |
| | | | | | | | | | | | | | | | | | | | | | | This patch adds to Core the ability to say let a = Int in <body> where 'a' is a type variable. That is: a type-let. See Note [Type let] in CoreSyn. * The binding is always non-recursive * The simplifier immediately eliminates it by substitution So in effect a type-let is just a delayed substitution. This is convenient in a couple of places in the desugarer, one existing (see the call to CoreTyn.mkTyBind in DsUtils), and one that's in the next upcoming patch. The first use in the desugarer was previously encoded as (/\a. <body>) Int rather that eagerly substituting, but that was horrid because Core Lint had do "know" that a=Int inside <body> else it would bleat. Expressing it directly as a 'let' seems much nicer. | ||||
* | Fix Trac #2339: reify (mkName "X") | simonpj@microsoft.com | 2008-06-04 | 1 | -18/+22 |
| | |||||
* | Fix Trac #2310: result type signatures are not supported any more | simonpj@microsoft.com | 2008-06-04 | 4 | -43/+40 |
| | | | | | | We have not supported "result type signatures" for some time, but using one in the wrong way caused a crash. This patch tidies it up. | ||||
* | Sort modules and packages in debug print (reduce test wobbles) | simonpj@microsoft.com | 2008-06-04 | 2 | -5/+22 |
| | | | | | | This affects only the debug print TcRnDriver.pprTcGblEnv, and eliminates test-suite wobbling (affected me for tc168, tc231) | ||||
* | Fix #2334: tyvar binders can have Names inside (equality predicates) | Simon Marlow | 2008-06-04 | 1 | -1/+14 |
| | |||||
* | Fix Trac #2331 (error message suggestion) | simonpj@microsoft.com | 2008-06-03 | 1 | -1/+1 |
| | |||||
* | add debugDumpTcRn and use it for some debugging output | Simon Marlow | 2008-06-03 | 2 | -2/+6 |
| | |||||
* | Turn "NOTE: Simplifier still going..." message into a WARN() | Simon Marlow | 2008-06-03 | 1 | -7/+5 |
| | |||||
* | remove the "expanding to size" messages | Simon Marlow | 2008-06-03 | 1 | -2/+1 |
| | |||||
* | New flag: -dno-debug-output | Simon Marlow | 2008-06-03 | 3 | -2/+11 |
| | | | | | | | | | | From the docs: <para>Suppress any unsolicited debugging output. When GHC has been built with the <literal>DEBUG</literal> option it occasionally emits debug output of interest to developers. The extra output can confuse the testing framework and cause bogus test failures, so this flag is provided to turn it off.</para> | ||||
* | -no-link-chk has been a no-op since at least 6.0; remove it | Simon Marlow | 2008-06-03 | 1 | -3/+0 |
| | |||||
* | -no-link-chk is a relic | Simon Marlow | 2008-06-03 | 1 | -2/+0 |
| | |||||
* | Shorten debug messages | simonpj@microsoft.com | 2008-06-03 | 2 | -2/+4 |
| | |||||
* | Fix minor layout issue (whitespace only) | simonpj@microsoft.com | 2008-06-02 | 1 | -1/+1 |
| | |||||
* | Fix validate: -Werror bug in patch "Replacing copyins and copyouts..." | Simon Marlow | 2008-06-02 | 1 | -5/+0 |
| | |||||
* | -fforce-recomp should be unnecessary for Main.hs in stage[23] now | Simon Marlow | 2008-06-02 | 1 | -3/+0 |
| | |||||
* | Missing import in C-- parser | dias@eecs.harvard.edu | 2008-06-02 | 1 | -0/+1 |
| |