From 766dc26a335a16d754e00a9132538ece8040d035 Mon Sep 17 00:00:00 2001 From: Bin Jin Date: Mon, 19 Mar 2012 22:52:46 +0800 Subject: [PATCH] fix extensions extraction from Cabal buildinfo --- Cabal.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cabal.hs b/Cabal.hs index 91e75cb..a909651 100644 --- a/Cabal.hs +++ b/Cabal.hs @@ -64,7 +64,7 @@ parseCabalFile file = do -- SourceDirs, Extensions, and Language extractBuildInfo :: BuildInfo -> ([String],[Extension],Maybe Language) extractBuildInfo binfo = (hsSourceDirs binfo - ,oldExtensions binfo + ,usedExtensions binfo ,defaultLanguage binfo) ----------------------------------------------------------------