
#11158: Combine exprIsTrivial and cpe_ExprIsTrivial -------------------------------------+------------------------------------- Reporter: simonpj | Owner: Type: task | Status: infoneeded Priority: highest | Milestone: 8.2.1 Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1656 Wiki Page: | -------------------------------------+------------------------------------- Comment (by nomeata): Right. Note that you do not actually have to ''use'' the GHC API, it is sufficient to link against it: {{{ import GHC import System.Exit main :: IO () main = putStrLn "Hi" >> exitSuccess >> GHC.runGhc undefined (return ()) }}} (can you confirm that?) Note that with my change, I could tickle the crash (assuming its the same crash) without linking against `ghc`, but the cause is still somewhere in `base` or `ghc-prim`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11158#comment:27 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler