JavaScript Backend: fix typePrimRep failure
Description
Test: T13244
Compile failed (exit code 1) errors were:
js-unknown-ghcjs-ghc: panic! (the 'impossible' happened)
GHC version 9.5.20220920:
runtimeRepPrimRep
typePrimRep (Unboxed Int :: TYPE (Rep Int))
Rep Int
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler/GHC/Utils/Panic.hs:188:37 in ghc:GHC.Utils.Panic
pprPanic, called at compiler/GHC/Types/RepType.hs:617:5 in ghc:GHC.Types.RepType
CallStack (from HasCallStack):
panic, called at compiler/GHC/Utils/Error.hs:442:29 in ghc:GHC.Utils.Error
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
*** unexpected failure for T13244(normal)
Test T13822:
Compile failed (exit code 1) errors were:
js-unknown-ghcjs-ghc: panic! (the 'impossible' happened)
GHC version 9.5.20220920:
kindPrimRep
IK 'STAR
typePrimRep (I a_avj :: IK 'STAR)
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler/GHC/Utils/Panic.hs:188:37 in ghc:GHC.Utils.Panic
pprPanic, called at compiler/GHC/Types/RepType.hs:587:5 in ghc:GHC.Types.RepType
CallStack (from HasCallStack):
panic, called at compiler/GHC/Utils/Error.hs:442:29 in ghc:GHC.Utils.Error
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
*** unexpected failure for T13822(normal)
Tests affected by this issue
-
T13105 -
T13244 -
T13822 !10261 (closed) -
T14749 !10261 (closed) -
Dep3 -
KindEqualities2