#10462: GHCi doesn't work Any and missing RealWorld foreign prim imports -------------------------------------+------------------------------------- Reporter: ezyang | Owner: Type: bug | Status: patch Priority: low | Milestone: 8.0.1 Component: Compiler | Version: 7.10.1 (CodeGen) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: prog014 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): D1458 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"badf5d54907a5a5e9224c44310f991a52379b4c1/ghc" badf5d5/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="badf5d54907a5a5e9224c44310f991a52379b4c1" Detect invalid foreign imports in bytecode compiler The bytecode compiler doesn't handle every foreign import calling convention. Instead of crashing during the generation of the foreign call, we display an error. Fix lint warnings Test Plan: prog014 ghci test added Reviewers: austin, hvr, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1458 GHC Trac Issues: #10462 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10462#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler