#7321: Compiler hangs when reading interface file
---------------------------------+------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.1
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by simonpj@…):
commit beb2f7434feb63fef7f0a0993104253b4169ccad
{{{
Author: Simon Peyton Jones <[email protected]>
Date: Fri Oct 12 08:15:44 2012 +0100
Be lazier when typechecking data type contexts (Trac #7321)
We should be lazy when type-checking the equality-contraint
part of a data constructor's type, to make the knot-tying
work out right. The fact that it's always worked before
is a fluke: no one else wrote a GADT whose type index mentions
itself
data T a wher
MkT :: T (T Int)
compiler/iface/TcIface.lhs | 25 +++++++++++--------------
1 files changed, 11 insertions(+), 14 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7321#comment:2>
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