
#8428: Incorrect type formatting in error messages -------------------------------------+------------------------------------- Reporter: klao | Owner: monoidal Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Easy (less than 1 Test Case: | hour) typecheck/should_fail/T8428 | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------- Changes (by monoidal): * status: patch => closed * testcase: => typecheck/should_fail/T8428 * resolution: => fixed Comment: Looks good, I've pushed it. Thanks for the patch. The type `(forall s. ST s)` should be rejected as a kind error, because under the forall there should be a type of kind *, not * -> * or similar. However, we currently do not detect this (#8388). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8428#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler