
#9672: Error message too long (full case statement printed) -------------------------------------+------------------------------------- Reporter: | Owner: andreas.abel | Status: new Type: bug | Milestone: Priority: normal | Version: 7.8.3 Component: Compiler | Keywords: (Type checker) | Architecture: Unknown/Multiple Resolution: | Difficulty: Easy (less than 1 Operating System: | hour) Unknown/Multiple | Blocked By: Type of failure: Other | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by simonpj): Totally agree. But it's not entirely straightforward * The other branches might be highly relevant. Eg {{{ f x = case x of True -> False False -> 'x' }}} * The printing machinery doesn't (currently) know or take account of where the original focus point was. Making it do so would be possible, but would take real work. I'd be happy if someone wanted to develop ideas here. Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9672#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler