[GHC] #10836: Better error reporting for closed type families
GHC
ghc-devs at haskell.org
Sat Nov 28 18:39:22 UTC 2015
#10836: Better error reporting for closed type families
-------------------------------------+-------------------------------------
Reporter: jstolarek | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.11
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Incorrect | Test Case:
warning at compile-time | typecheck/should_fail/T10836
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by goldfire):
Replying to [comment:4 jstolarek]:
> But I only get the first one. Is this expected?
I think so. GHC gives up if type-checking the type & class definitions
fails. Otherwise, who knows what terrible type errors might happen?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10836#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list