From 8889c2e8e54b71673341ffebd69c525045bba8fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Fri, 5 Sep 2014 17:58:12 +0200 Subject: [PATCH] note --- Language/Haskell/GhcMod/CabalApi.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/Language/Haskell/GhcMod/CabalApi.hs b/Language/Haskell/GhcMod/CabalApi.hs index 7ac7a46..58d7512 100644 --- a/Language/Haskell/GhcMod/CabalApi.hs +++ b/Language/Haskell/GhcMod/CabalApi.hs @@ -155,6 +155,7 @@ getGHC :: IO Version getGHC = do mv <- programFindVersion ghcProgram silent (programName ghcProgram) case mv of + -- TODO: MonadError it up Nothing -> E.throwIO $ userError "ghc not found" Just v -> return v