[GHC] #15245: Data family promotion is possible

GHC ghc-devs at haskell.org
Thu Jun 14 23:27:31 UTC 2018


#15245: Data family promotion is possible
-------------------------------------+-------------------------------------
        Reporter:  int-index         |                Owner:  (none)
            Type:  bug               |               Status:  merge
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler (Type    |              Version:  8.4.3
  checker)                           |
      Resolution:                    |             Keywords:  TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHC accepts       |            Test Case:
  invalid program                    |  dependent/should_fail/T15245.hs
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  D4748
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by int-index):

 * status:  new => merge
 * testcase:   => dependent/should_fail/T15245.hs
 * differential:   => D4748
 * component:  Documentation => Compiler (Type checker)
 * failure:  None/Unknown => GHC accepts invalid program


Comment:

 This is now fixed in HEAD by disallowing promotion of data families. If
 anyone needs this feature, it would be appropriate to create a feature
 request.

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


More information about the ghc-tickets mailing list