[commit: ghc] master: Switch off lazy flattening (fix Trac #3064) (096b7e6)
git at git.haskell.org
git at git.haskell.org
Thu Nov 6 15:42:45 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/096b7e664351d102cc9e15f3aa226a976af5dae2/ghc
>---------------------------------------------------------------
commit 096b7e664351d102cc9e15f3aa226a976af5dae2
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Thu Nov 6 13:46:47 2014 +0000
Switch off lazy flattening (fix Trac #3064)
See Note [Lazy flattening] in TcFlatten.
Lazy flattening was an apparently good idea which actually made
the type inference engine go a LOTS slower in T3064. So I switched
it off again.
>---------------------------------------------------------------
096b7e664351d102cc9e15f3aa226a976af5dae2
compiler/typecheck/TcBinds.lhs | 5 ++-
compiler/typecheck/TcCanonical.lhs | 4 +-
compiler/typecheck/TcFlatten.lhs | 43 ++++++++++++++++++----
.../tests/indexed-types/should_fail/T2664.stderr | 18 +++++----
.../tests/indexed-types/should_fail/T7010.stderr | 2 +-
.../tests/indexed-types/should_fail/T8518.stderr | 15 ++++++++
testsuite/tests/perf/compiler/all.T | 8 ++--
7 files changed, 72 insertions(+), 23 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 096b7e664351d102cc9e15f3aa226a976af5dae2
More information about the ghc-commits
mailing list