
#8776: Displaying pattern synonym for a GADT -------------------------------------+------------------------------------ Reporter: monoidal | Owner: cactus Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by cactus): * owner: => cactus Comment: OK I have pushed a prototype implementation of that to the `T8776` branch. It changes `ppr_ty_thing` to go via the `IfaceDecl`, but only for `PatSynCon`, since `tyThingToIfaceDecl` doesn't work for `RealDataCon`s. If you think that makes sense, I can clean it up somewhat (by removing remnants of the old way to print `PatSynCon` `TyThing`s) and merge it to `master`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8776#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler