[GHC] #12409: Unboxed tuples have no type representations
GHC
ghc-devs at haskell.org
Tue Jul 19 08:44:59 UTC 2016
#12409: Unboxed tuples have no type representations
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 8.0.2
Component: Compiler | Version: 8.0.1
Keywords: typeable | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
This ticket continues with the long tradition of types missing type
representations (see #12082, #12132, #11120). This time the culprit is
unboxed tuples,
{{{
$ ghci
GHCi, version 8.0.1: http://www.haskell.org/ghc/ :? for help
Loaded GHCi configuration from /home/ben/.ghci
λ> import Data.Typeable
λ> :set -XUnboxedTuples
λ> typeRep (Proxy :: Proxy (#Int, Int#))
ghc: panic! (the 'impossible' happened)
(GHC version 8.0.1 for x86_64-unknown-linux):
tyConRep (#,#)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
}}}
The problem, as usual, is that the tycons are missing from
`knownKeyNames`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12409>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list