
#13848: Unexpected order of variable quantification with GADT constructor -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 8.0.1 checker) | Keywords: Resolution: | TypeApplications Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): Well it would take a bit more plumbing, I agree. You'd need to take the `qtkvs` returned by `tcGadtSigType` in `TcTyClsDecls.tcConDecl` and pass it on to `buildDataCon`, which can in turn give them to `mkDataConRep` to use instead of calling `dataConUserType`. I'm not certain that's all, but I think so. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13848#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler