- Dec 03, 2013
-
-
Joachim Breitner authored
-
Joachim Breitner authored
If "deriving (C)" fails, it will now, if possible, indicate which particular field of which constructor has caused the failure. (This fixes #8576)
-
Joachim Breitner authored
When doing non-standalone deriving, annotate each individual unsimplified constraint with its own CtOrigin. This is just the refactoring, so the CtOrigin is still CtDeriv in each case.
-
- Dec 02, 2013
-
-
Gabor Greif authored
-
Joachim Breitner authored
This note is a summary of an explanation by SPJ to me.
-
Joachim Breitner authored
That’s where all its users are...
-
Richard Eisenberg authored
-
Richard Eisenberg authored
This commit is just a refactoring, intended to make the use of rejigConRes (which sorts out the return types of GADT-like constructors) less delicate. The idea is that, if we perform role checking in a second top-level pass, we can use checkValidDataCon to check for valid return types. Previously, checking roles would force the rejigConRes thunk before we knew that rejigConRes was safe to call!
-
Richard Eisenberg authored
-
Joachim Breitner authored
-
Joachim Breitner authored
-
Joachim Breitner authored
-
Joachim Breitner authored
-
Joachim Breitner authored
It now reads Could not coerce from ‛S a’ to ‛S (NT a)’ and does not mention Coercible any more (as discussed in #8567).
-
Joachim Breitner authored
just like other type errors occurring during deriving.
-
Joachim Breitner authored
in comments and function names, to use less names for the same thing.
-
- Dec 01, 2013
-
-
parcs authored
-
parcs authored
-
parcs authored
-
Jan Stolarek authored
-
parcs authored
-
- Nov 30, 2013
-
-
Krzysztof Gogolewski authored
-
Krzysztof Gogolewski authored
-
parcs authored
-
- Nov 29, 2013
-
-
Krzysztof Gogolewski authored
Thanks to aavogt
-
Joachim Breitner authored
-
Joachim Breitner authored
-
Herbert Valerio Riedel authored
This is a kludge to workaround Clang's CPP lacking traditional-mode CPP (This was reported by Kazu Yamamoto) Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Simon Peyton Jones authored
This fixes Trac #8570
-
- Nov 28, 2013
-
-
Simon Peyton Jones authored
This fixes #8540 (again), and simplifies matters a bit more. In particular, I got rid of ic_sys_vars altogether. Mostly they can just go in ic_tythings, apart from dfuns, which are readily gettable from the instances anyway. See documentation in Note [Initialising the type environment for GHCi] in TcEnv.
-
Simon Peyton Jones authored
The runtime debugger (which has not received any love from anyone for many years) looks wrong to me; it was failing to instantiate the outer foralls of a variable when called from :force, which calls cvObtainTermFromId, which calls cvObtainTerm I simplified the code too. But I'm flaky on how this debugger stuff is really supposed to work, so I'm partly guessing. Tests pass though.
-
Simon Marlow authored
I liked the idea of combining traceRunStatus and handleRunStatus, but I think we lost a bit of clarity where traceRunStatus wants to fall back to handleRunStatus when the breakpoint is enabled. So I refactored it a bit more.
-
Simon Marlow authored
-
Simon Marlow authored
-
-
Simon Marlow authored
-
Joachim Breitner authored
as the coercions for type literals are of that role.
-
Simon Peyton Jones authored
-
- Nov 27, 2013
-
-
Joachim Breitner authored
using deferTcSForAllEq, just like for ~ types, during canonicalization
-