
#9784: Allow Qualified Promoted Types -------------------------------------+------------------------------------- Reporter: crockeea | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.3 (Parser) | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: GHC | Related Tickets: rejects valid program | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by crockeea): Interesting. Instead of suggesting `RankNTypes`, perhaps the error should explain this syntax. If there's a promoted variable in scope (or maybe even if there isn't a promoted variable in scope) `parse error on Foo.'Z (perhaps you meant 'Foo.Z)` -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9784#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler