Commit 06cb695c authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by Sergei Trofimovich
Browse files

ghci: fix UNREG build (missing fromJust import)

libraries/ghci/GHCi/InfoTable.hsc:249:45: error:
    • Variable not in scope: fromJust :: Maybe EntryFunPtr -> a0
    • Perhaps you meant ‘fromList’ (imported from GHC.Exts)
Signed-off-by: default avatarSergei Trofimovich <>

Test Plan: build --enable-unregisterised ghc

Reviewers: simonmar, bgamari, austin

Reviewed By: austin

Subscribers: thomie

Differential Revision:
parent 3dd06d5e
......@@ -11,6 +11,9 @@ module GHCi.InfoTable
, conInfoPtr
) where
#if !defined(TABLES_NEXT_TO_CODE)
import Data.Maybe (fromJust)
import Foreign
import Foreign.C
import GHC.Ptr
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment