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 <siarheit@google.com>

Test Plan: build --enable-unregisterised ghc

Reviewers: simonmar, bgamari, austin

Reviewed By: austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1649
parent 3dd06d5e
...@@ -11,6 +11,9 @@ module GHCi.InfoTable ...@@ -11,6 +11,9 @@ module GHCi.InfoTable
, conInfoPtr , conInfoPtr
) where ) where
#if !defined(TABLES_NEXT_TO_CODE)
import Data.Maybe (fromJust)
#endif
import Foreign import Foreign
import Foreign.C import Foreign.C
import GHC.Ptr 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