From bc65c477d01057b86267ac55381b12c3e56ab54a Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Mon, 22 Sep 2014 11:20:11 +0900 Subject: [PATCH] fixing typo. --- Language/Haskell/GhcMod/Monad.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Language/Haskell/GhcMod/Monad.hs b/Language/Haskell/GhcMod/Monad.hs index b9b8fe4..5fe33b8 100644 --- a/Language/Haskell/GhcMod/Monad.hs +++ b/Language/Haskell/GhcMod/Monad.hs @@ -200,11 +200,11 @@ initializeFlagsWithCradle opt c | cabal = withCabal | otherwise = withSandbox where - mCradleFile = cradleCabalFile c - cabal = isJust mCradleFile + mCabalFile = cradleCabalFile c + cabal = isJust mCabalFile ghcopts = ghcUserOptions opt withCabal = do - pkgDesc <- parseCabalFile c $ fromJust mCradleFile + pkgDesc <- parseCabalFile c $ fromJust mCabalFile compOpts <- getCompilerOptions ghcopts c pkgDesc initSession CabalPkg opt compOpts withSandbox = initSession SingleFile opt compOpts