[GHC] #14051: Unboxed sums-related panic: getUnboxedSumName 513

GHC ghc-devs at haskell.org
Sat Jul 29 03:15:31 UTC 2017


#14051: Unboxed sums-related panic: getUnboxedSumName 513
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.2.1-rc2
  checker)                           |
      Resolution:                    |             Keywords:  UnboxedSums
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC accepts       |  Unknown/Multiple
  invalid program                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by dfeuer):

 * cc: dfeuer (added)
 * failure:  None/Unknown => GHC accepts invalid program
 * component:  Compiler => Compiler (Type checker)


Comment:

 If I understand things correctly, the type checker should refuse to
 `print` a `(# Bool | Bool #)`.

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


More information about the ghc-tickets mailing list