[GHC] #11724: Must check for representation polymorphism in datatype declarations

GHC ghc-devs at haskell.org
Sat Mar 19 19:39:52 UTC 2016


#11724: Must check for representation polymorphism in datatype declarations
-------------------------------------+-------------------------------------
           Reporter:  goldfire       |             Owner:  goldfire
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.0.1
          Component:  Compiler       |           Version:  8.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{#!hs
 data Foo (r :: RuntimeRep) (a :: TYPE r) = Foo a
 }}}

 panics. It should error instead.

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


More information about the ghc-tickets mailing list