[GHC] #9784: Allow Qualified Promoted Types

GHC ghc-devs at haskell.org
Sat Nov 8 22:38:02 UTC 2014


#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


More information about the ghc-tickets mailing list