Skip to content

ghc: internal error: PAP object entered!

> ghc hplay.hs -o hplay.exe
[1 of 1] Compiling Main             ( hplay.hs, hplay.o )
ghc: internal error: PAP object entered!
    (GHC version 8.0.2 for x86_64_unknown_mingw32)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Test file:

{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE QuasiQuotes #-}
module Main where

import qualified Language.C.Inline as C

main :: IO ()
main = [C.block||]

Using inline-c-0.6.0.5

Trac metadata
Trac field Value
Version 8.0.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information