| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We now include the String and the SDoc in the exception, and don't
flatten them into a String until near the top-level
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This is a partial fix for #2786. It seems we still don't get
NonTermination exceptions for interpreted computations, but we do now
get the BlockedIndefinitely family.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I tried this out on the panic we're currently getting for #3103:
ghc-stage2: panic! (the 'impossible' happened)
(GHC version 7.3.20111128 for x86_64-unknown-linux):
tcIfaceGlobal (local): not found:
base:GHC.Word.W#{d 6w}
[(32R, Type constructor `base:GHC.Word.Word{tc 32R}'),
(r6O, Identifier `base:GHC.Word.$fNumWord{v r6O}'),
(r6P, Identifier `base:GHC.Word.$fEqWord{v r6P}'),
(r6Q, Identifier `base:GHC.Word.$fNumWord1{v r6Q}'),
(r6R, Identifier `base:GHC.Word.$fNumWord2{v r6R}'),
(r6S, Data constructor `base:GHC.Word.W#{d r6S}'),
(r6U, Identifier `base:GHC.Word.W#{v r6U}'),
(r75, Identifier `base:GHC.Word.$fNumWord_$csignum{v r75}'),
(r76, Identifier `base:GHC.Word.$fEqWord_$c/={v r76}'),
(r77, Identifier `base:GHC.Word.$fEqWord_$c=={v r77}')]
{ Main.main
GHC.defaultErrorHandler
GHC.runGhc
GhcMonad.>>=
GhcMonad.>>=.\
Main.main'
Main.doMake
GhcMake.load
GhcMake.load2
GhcMake.upsweep
GhcMake.upsweep.upsweep'
GhcMake.reTypecheckLoop
GhcMake.typecheckLoop
GhcMake.typecheckLoop.\
TcRnMonad.initIfaceCheck
TcRnMonad.initTcRnIf
IOEnv.runIOEnv
IOEnv.thenM
IOEnv.thenM.\
TcIface.typecheckIface
TcIface.typecheckIface.\
LoadIface.loadDecls
LoadIface.loadDecl
TcIface.tcIfaceDecl
TcIface.tc_iface_decl
TcIface.tcIdInfo
MonadUtils.foldlM
TcIface.tcIdInfo.tcPrag
TcIface.tcUnfolding
TcIface.tcPragExpr
TcIface.tcIfaceExpr
TcIface.tcIfaceAlt
TcIface.tcIfaceDataCon }
|
|
|
|
|
| |
We only use it for "compiler" sources, i.e. not for libraries.
Many modules have a -fno-warn-tabs kludge for now.
|
| |
|
|
|
|
|
| |
- "sorry! (this is work in progress)\n"
+ "sorry! (unimplemented feature or known bug)\n"
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It now says:
ghc-stage2: sorry! (this is work in progress)
(GHC version 7.1.20101028 for i386-apple-darwin):
Vectorise.Builtins.indexBuiltin
DPH builtin function 'sumTyCon' of size '11' is not yet implemented.
This function does not appear in your source program, but it is needed
to compile your code in the backend. This is a known, current limitation
of DPH. If you want it to to work you should send mail to cvs-ghc@haskell.org
and ask what you can do to help (it might involve some GHC hacking).
I added 'pprSorry' that behaves like 'pprPanic' except it say sorry! instead
of panic!, and doesn't ask the user to report a bug.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Ifdefs for whether we had extensible exceptions or not were spreading
through GHC's source, and things would only have got worse for the next
2-3 years, so instead we now use an implementation of extensible
exceptions built on top of the old exception type.
|
|
|
|
|
|
|
| |
A previous patch slightly changed the semantics of tryUser.
This patch restores the original behaviour
(as expected in :print)
|
| |
|
|
|
|
|
| |
TopHandler now uses the new extensible exceptions module, so we
need to interact with it using the new types.
|
| |
|
| |
|
| |
|
|
|
|
| |
Modules that need it import it themselves instead.
|
|
|
|
|
|
|
| |
instead of something like "ghc-6.8.2: ...", which causes problems in
the test suite. In any case, "<command line>" seems a more
appropriate context for these errors, the only question is whether
we're using CmdLineError incorrectly anywhere.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
re-recording to avoid new conflicts was too hard, so I just put it
all in one big patch :-( (besides, some of the changes depended on
each other.) Here are what the component patches were:
Fri Dec 28 11:02:55 EST 2007 Isaac Dupree <id@isaac.cedarswampstudios.org>
* document BreakArray better
Fri Dec 28 11:39:22 EST 2007 Isaac Dupree <id@isaac.cedarswampstudios.org>
* properly ifdef BreakArray for GHCI
Fri Jan 4 13:50:41 EST 2008 Isaac Dupree <id@isaac.cedarswampstudios.org>
* change ifs on __GLASGOW_HASKELL__ to account for... (#1405)
for it not being defined. I assume it being undefined implies
a compiler with relatively modern libraries but without most
unportable glasgow extensions.
Fri Jan 4 14:21:21 EST 2008 Isaac Dupree <id@isaac.cedarswampstudios.org>
* MyEither-->EitherString to allow Haskell98 instance
Fri Jan 4 16:13:29 EST 2008 Isaac Dupree <id@isaac.cedarswampstudios.org>
* re-portabilize Pretty, and corresponding changes
Fri Jan 4 17:19:55 EST 2008 Isaac Dupree <id@isaac.cedarswampstudios.org>
* Augment FastTypes to be much more complete
Fri Jan 4 20:14:19 EST 2008 Isaac Dupree <id@isaac.cedarswampstudios.org>
* use FastFunctions, cleanup FastString slightly
Fri Jan 4 21:00:22 EST 2008 Isaac Dupree <id@isaac.cedarswampstudios.org>
* Massive de-"#", mostly Int# --> FastInt (#1405)
Fri Jan 4 21:02:49 EST 2008 Isaac Dupree <id@isaac.cedarswampstudios.org>
* miscellaneous unnecessary-extension-removal
Sat Jan 5 19:30:13 EST 2008 Isaac Dupree <id@isaac.cedarswampstudios.org>
* add FastFunctions
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch implements generalised list comprehensions, as described in
the paper "Comprehensive comprehensions" (Peyton Jones & Wadler, Haskell
Workshop 2007). If you don't use the new comprehensions, nothing
should change.
The syntax is not exactly as in the paper; see the user manual entry
for details.
You need an accompanying patch to the base library for this stuff
to work.
The patch is the work of Max Bolingbroke [batterseapower@hotmail.com],
with some advice from Simon PJ.
The related GHC Wiki page is
http://hackage.haskell.org/trac/ghc/wiki/SQLLikeComprehensions
|
| |
|
|
|
|
|
|
|
| |
Older GHCs can't parse OPTIONS_GHC.
This also changes the URL referenced for the -w options from
WorkingConventions#Warnings to CodingStyle#Warnings for the compiler
modules.
|
| |
|
|
|
|
|
|
| |
I skipped utils/hsc2hs/Main.hs since its ifs also involved
checking for old versions of nhc98 (I don't want to figure that out),
but removed everything else I found relating to building with pre-6.0
|
| |
|
| |
|
|
|
|
| |
Tracked down by Krasimir Angelov
|
|
|
|
| |
Push this further along, and fix build problems in the first patch.
|
|
Most of the other users of the fptools build system have migrated to
Cabal, and with the move to darcs we can now flatten the source tree
without losing history, so here goes.
The main change is that the ghc/ subdir is gone, and most of what it
contained is now at the top level. The build system now makes no
pretense at being multi-project, it is just the GHC build system.
No doubt this will break many things, and there will be a period of
instability while we fix the dependencies. A straightforward build
should work, but I haven't yet fixed binary/source distributions.
Changes to the Building Guide will follow, too.
|