[GHC] #9784: Allow Qualified Promoted Types

GHC ghc-devs at haskell.org
Sat Nov 8 19:31:52 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 rwbarton):

 It's `'Foo.Z` not `Foo.'Z`. `Foo.Z` is the name here; there is no "type
 beginning with a tick", that is just syntax to disambiguate namespaces.
 (Think like `(Map.!)`, etc.)

 Good point about the `RankNTypes` error message though.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9784#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list