#7293: Wrong location reported for inaccessible code with GADTs
------------------------------+---------------------------------------------
Reporter: goldfire | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.6.1 | Keywords: GADTs
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
Comment(by simonpj@…):
commit 629d1f48b513be3cc662ea79376737dbcdb6b18f
{{{
Author: Simon Peyton Jones <[email protected]>
Date: Thu Oct 4 17:54:38 2012 +0100
Improve erorr location for Given errors
Note [Inaccessible code].
Fixes Trac #7293.
compiler/typecheck/TcErrors.lhs | 91
+++++++++++++++++++++++---------------
compiler/typecheck/TcRnTypes.lhs | 5 ++-
2 files changed, 59 insertions(+), 37 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7293#comment:1>
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