[GHC] #12686: Attempt to promote a value to a type results in an internal error

GHC ghc-devs at haskell.org
Fri Nov 25 16:33:54 UTC 2016


#12686: Attempt to promote a value to a type results in an internal error
-------------------------------------+-------------------------------------
        Reporter:  johnleo           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
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 Simon Peyton Jones <simonpj@…>):

 In [changeset:"c1b4b76931a58c59e5b269477e38db659cf7aea8/ghc" c1b4b76/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="c1b4b76931a58c59e5b269477e38db659cf7aea8"
 Fix a name-space problem with promotion

 Trac #12686 showed that we were allowing a term variable into
 a type, by promotion.  I chose to squash this in the renamer.
 }}}

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


More information about the ghc-tickets mailing list