
#11560: panic: isInjectiveTyCon sees a TcTyCon -------------------------------------+------------------------------------- Reporter: rwbarton | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 8.1 checker) | Resolution: | Keywords: TypeInType Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): I can't reproduce this with GHC 8.1.20161125: {{{ $ /opt/ghc/head/bin/ghci GHCi, version 8.1.20161125: http://www.haskell.org/ghc/ :? for help Loaded GHCi configuration from /home/rgscott/.ghci λ> :set -XTypeFamilies -XTypeInType λ> :m +Data.Kind λ> type family T (l :: *) (k :: l) :: * where { T * Int = * } <interactive>:3:46: error: • Mismatched type name in type family instance. Expected: T Actual: * • In the type family declaration for ‘T’ }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11560#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler