[GHC] #13300: panic! isInjectiveTyCon sees a TcTyCon W
GHC
ghc-devs at haskell.org
Sun Feb 19 13:56:55 UTC 2017
#13300: panic! isInjectiveTyCon sees a TcTyCon W
-------------------------------------+-------------------------------------
Reporter: siddhanathan | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash or panic | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by rwbarton):
For those like me who failed to spot the error immediately, the correct
error message is (from 7.10)
{{{
W.hs:4:3:
Data constructor ‘WI’ returns type ‘Int’
instead of an instance of its parent type ‘W’
In the definition of data constructor ‘WI’
In the data declaration for ‘W’
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13300#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list