- 07 Jul, 2009 2 commits
-
-
Ian Lynagh authored
This fixes the unused imports warning when Foo (F(x,y,z)) is imported and Foo (F(..)) is exported.
-
Ian Lynagh authored
-
- 06 Jul, 2009 2 commits
-
-
simonpj@microsoft.com authored
This patch, joint work between and Ian and Simon, fixes Trac #1074 by reporting unused import declarations much more accuratly than before. The specification is described at http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/UnusedImports The implementation is both easier to understand than before, and shorter too. Also fixed are #1148, #2267 Also fixed is -ddump-minimal imports, which now works properly, fixing Trac #1792.
-
simonpj@microsoft.com authored
-
- 07 Jul, 2009 3 commits
-
-
Simon Marlow authored
We cache the old versions of files generated by configure, so that if configure touches the file without changing it, we can detect that and restore the timestamp.
-
Simon Marlow authored
-
Simon Marlow authored
-
- 03 Jul, 2009 1 commit
-
-
Simon Marlow authored
-
- 07 Jul, 2009 1 commit
-
-
chak@cse.unsw.edu.au. authored
-
- 05 Jul, 2009 1 commit
-
-
Ian Lynagh authored
-
- 06 Jul, 2009 2 commits
-
-
Simon Marlow authored
-
simonpj@microsoft.com authored
The build system should use 'find' and 'sort' that are discovered by configure, not the ones in your path. On Windows the ones in your path might well be the non-Unixy Windows versions. This patch fixes the ones I tripped over. There may be more.
-
- 05 Jul, 2009 3 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 04 Jul, 2009 5 commits
-
-
Duncan Coutts authored
And add links to the new shared libs section.
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
Basically just stat that it exists and refer to the ghc dev wiki for the details, because we don't really want people using it.
-
Ian Lynagh authored
-
- 02 Jul, 2009 1 commit
-
-
batterseapower authored
-
- 01 Jul, 2009 1 commit
-
-
batterseapower authored
-
- 03 Jul, 2009 1 commit
-
-
Simon Marlow authored
e.g. cd compiler make FAST=YES stage1/build/HscTypes.o builds just the specified .o file, without rebuilding dependencies, and omitting some of the makefile phases. FAST=YES works anywhere, to omit depenencies and phases. 'make fast' is shorthand for 'make all FAST=YES'.
-
- 02 Jul, 2009 7 commits
-
-
simonpj@microsoft.com authored
The type in a ViewPat wasn't being zonked. Easily fixed.
-
chak@cse.unsw.edu.au. authored
-
simonpj@microsoft.com authored
The main purpose of this patch is to fix Trac #3306, by fleshing out the syntax for GADT-style record declraations so that you have a context in the type. The new form is data T a where MkT :: forall a. Eq a => { x,y :: !a } -> T a See discussion on the Trac ticket. The old form is still allowed, but give a deprecation warning. When we remove the old form we'll also get rid of the one reduce/reduce error in the grammar. Hurrah! While I was at it, I failed as usual to resist the temptation to do lots of refactoring. The parsing of data/type declarations is now much simpler and more uniform. Less code, less chance of errors, and more functionality. Took longer than I planned, though. ConDecl has record syntax, but it was not being used consistently, so I pushed that through the compiler.
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
chak@cse.unsw.edu.au. authored
-
- 01 Jul, 2009 3 commits
-
-
Simon Marlow authored
$ ./inplace/bin/ghc-stage2 --interactive GHCi, version 6.11.20090701: http://www.haskell.org/ghc/ :? for help ghc-stage2: GHCi cannot be used when compiled with -prof [1] 32473 exit 1 ./inplace/bin/ghc-stage2 --interactive
-
Simon Marlow authored
Building a profiled GHC is as simple as adding GhcLibWays += p GhcProfiled = YES to your build.mk and saying 'make'. Then you have a profiled inplace/bin/ghc-stage2.
-
Simon Marlow authored
-
- 30 Jun, 2009 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 27 Jun, 2009 1 commit
-
-
Ian Lynagh authored
-
- 26 Jun, 2009 2 commits
-
-
Simon Marlow authored
- converting a THSyn FFI declaration to HsDecl was broken; fixed - pretty-printing of FFI declarations was variously bogus; fixed - there was an unused "library" field in CImport; removed
-
Ross Paterson authored
-
- 25 Jun, 2009 2 commits
-
-
Ian Lynagh authored
-
simonpj@microsoft.com authored
I boobed when I decoupled record selectors from their data types. The most straightforward and robust fix means attaching the TyCon of a record selector to its IfaceIdInfo, so you'll need to rebuild all .hi files That said, the fix is easy.
-