#7173: Unnecessary constraints in inferred type
---------------------------------+------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.1-rc1
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: GHC rejects valid program
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by simonpj@…):
commit 1a591a0ce0e1b70eb5e6646542d5f110bfefc9af
{{{
Author: Simon Peyton Jones <[email protected]>
Date: Tue Aug 21 14:37:20 2012 +0100
Refactor the way we infer types for functions in a mutually recursive
group
See Note [Impedence matching] in TcBinds.
Fixes Trac #7173
compiler/typecheck/TcBinds.lhs | 57
+++++++++++++++++++++++++++++++++----
compiler/typecheck/TcMType.lhs | 34 +++++++++++++++++++++-
compiler/typecheck/TcSimplify.lhs | 46 ++++--------------------------
3 files changed, 90 insertions(+), 47 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7173#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs