[GHC] #11048: Kind Incompatibility in GHC 7.6.3

#11048: Kind Incompatibility in GHC 7.6.3 ----------------------------------------+--------------------------------- Reporter: skatenerd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Keywords: | Operating System: Linux Architecture: Unknown/Multiple | Type of failure: None/Unknown Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: ----------------------------------------+--------------------------------- In [https://github.com/skatenerd/vectorracing/commit/ddb950a3c89f7ba5aae84050d27... this commit] I have added a line with an intentionally missing dollar- sign. This should result in a mundane build failure, but instead, GHC produces this message: {{{ src/Main.hs:50:3: Couldn't match kind `* -> *' with `*' Expected type: Window -> Maybe Integer -> t0 Curses (Maybe Event) Actual type: Window -> Maybe Integer -> t0 Curses (Maybe Event) Kind incompatibility when matching types: Window :: * -> * Window :: * The function `lift'ghc: panic! (the 'impossible' happened) (GHC version 7.6.3 for x86_64-unknown-linux): kindFunResult ghc-prim:GHC.Prim.*{(w) tc 34d} Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11048 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11048: Kind Incompatibility in GHC 7.6.3 ---------------------------------+---------------------------------------- Reporter: skatenerd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Comment (by skatenerd): Minimal example: https://gist.github.com/skatenerd/4fcc99434c901e8ef373 You have to have the ncurses library installed... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11048#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11048: Kind Incompatibility in GHC 7.6.3 ---------------------------------+---------------------------------------- Reporter: skatenerd | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: duplicate | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Changes (by goldfire): * status: new => closed * resolution: => duplicate Comment: Thanks for reporting! This issue has been fixed in later versions of GHC and has several other tickets describing it. For example, see #8055. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11048#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC