- 03 Oct, 2008 3 commits
-
-
simonpj@microsoft.com authored
This patch fixes a dirty hack (the fake ThFake module), which in turn was causing Trac #2632. The new scheme is that the top-level binders in a TH [d| ... |] decl splice get Internal names. That breaks a previous invariant that things like TyCons always have External names, but these TyCons are never long-lived; they live only long enough to typecheck the TH quotation; the result is discarded. So it seems cool. Nevertheless -- Template Haskell folk: please test your code. The testsuite is OK but it's conceivable that I've broken something in TH. Let's see.
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
nameModule fails on an InternalName. These ASSERTS tell you which call failed.
-
- 02 Oct, 2008 9 commits
-
-
Thomas Schilling authored
To get the ModSummary for a ModuleName getModSummary can be used. It's not called find* or lookup* because it assumes that the module is in the module graph and throws an exception if it cannot be found. Overall, I'm not quite sure about the usefulness of this function since the user has no control about which filetype to grab (hs or hs-boot).
-
Ian Lynagh authored
-
chak@cse.unsw.edu.au. authored
MERGE TO 6.10
-
chak@cse.unsw.edu.au. authored
MERGE TO 6.10
-
simonpj@microsoft.com authored
See Note [Binder swap on GlobalId scrutinees]. I hadn't got this right before, so repeated cases on imported Ids weren't getting optimised.
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
SpecConstr can make pattern binders come alive, so we must remember to zap their dead-variable annotation. See extendCaseBndrs. (This was triggering a Core Lint failure in DPH.)
-
simonpj@microsoft.com authored
-
- 01 Oct, 2008 4 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
We forgot to document this in GHC 6.8
-
Simon Marlow authored
-
chak@cse.unsw.edu.au. authored
- Pattern signatures must be identical to the type expected for the pattern; see Note [Pattern coercions] - We now signal an appropriate error if an equality coercion would be needed (instead of just generating Core that doesn't typecheck) MERGE TO 6.10
-
- 02 Oct, 2008 1 commit
-
-
rl@cse.unsw.edu.au authored
This adds a new flag -finline-if-enough-args which disables inlining for partially applied functions. It is automatically set by -Odph. This is a temporary hack and should remain undocumented. MERGE TO 6.10
-
- 01 Oct, 2008 1 commit
-
-
Ian Lynagh authored
-
- 30 Sep, 2008 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 01 Oct, 2008 1 commit
-
-
Simon Marlow authored
There was a race condition whereby a thread doing throwTo could be blocked on a thread that had finished, and the GC would detect this as a deadlock rather than raising the pending exception. We can't close the race, but we can make the right thing happen when the GC runs later.
-
- 30 Sep, 2008 1 commit
-
-
Simon Marlow authored
-
- 01 Oct, 2008 3 commits
-
-
chak@cse.unsw.edu.au. authored
MERGE TO 6.10
-
chak@cse.unsw.edu.au. authored
- This cleans up some of the mess in reduceImplication and documents the precondition on the form of wanted equalities properly. - I also made the back off test a bit smarter by allowing to back off in the presence of wanted equalities as long as none of them got solved in the attempt. (That should save generating some superfluous bindings.) MERGE TO 6.10
-
chak@cse.unsw.edu.au. authored
MERGE TO 6.10
-
- 30 Sep, 2008 5 commits
-
-
Simon Marlow authored
Needed for #738 fix
-
Simon Marlow authored
-
Simon Marlow authored
My guess is that this is left over from when we represented Int8 and friends as zero-extended rather than sign-extended. It's amazing it hasn't been noticed earlier.
-
Clemens Fruhwirth authored
Unconditionalize definition of DYNAMIC_* so that libffi.so/.dll is removed even when BuildSharedLibs is reset to NO
-
chak@cse.unsw.edu.au. authored
MERGE TO 6.10
-
- 29 Sep, 2008 2 commits
-
-
chak@cse.unsw.edu.au. authored
-
chak@cse.unsw.edu.au. authored
- applySubstFam, applySubstVarVar & applySubstVarFam need to return their second argument -to be put into the todo list- if the rule would be applicable if the equalities would be supplied in the opposite order. MERGE TO 6.10
-
- 26 Sep, 2008 2 commits
- 27 Sep, 2008 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 23 Sep, 2008 1 commit
-
-
Simon Marlow authored
-
- 27 Sep, 2008 1 commit
-
-
Ian Lynagh authored
I'm not sure why it works in the HEAD, but when making an installer from the 6.10.1 beta configure hangs when doing the CHECK_HIST_ERRORS test (during rl_initialize, I believe). Giving make /dev/null as stdin fixes it.
-
- 16 Sep, 2008 1 commit
-
-
Neil Mitchell authored
-
- 26 Sep, 2008 1 commit
-
-
Simon Marlow authored
-