
#13819: TypeApplications-related GHC panic -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.2.1 Component: Compiler (Type | Version: 8.2.1-rc2 checker) | Keywords: Resolution: | TypeApplications 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: | -------------------------------------+------------------------------------- Changes (by simonpj): * cc: goldfire (added) Comment: Richard, this is yet more fallout from the terrible `uo_thing` mess. The panic comes from the argument-counting in `repSplitAppTys`, when called from `mkTypErrorThing` or `mkTypeErrorThingArgs`. At the moment we construct this `ErrorThing` the kind of the type has not been zonked, so we have a `FunTy t1 t2` with `t1 :: kappa`. I guess this will be fixed when we tidy up `uo_thing`... but that is looking increasingly urgent. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13819#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler