From 47c116b5a6b9ba99523c4beff6222b712c3922e9 Mon Sep 17 00:00:00 2001 From: hallgren Date: Mon, 26 Mar 2012 23:56:56 +0000 Subject: Workaround for bug in ghc-7.2.2 An apparent bug in ghc-7.2.2 causes the type Value to be exported from PGF.Data. Workaround: restrict the imports from PGF.Data in GF.Command.Abstract and GF.Compile.GeneratePMCFG to avoid the clash with locally defined type Value. (ghc-7.0.4 and ghc-7.4.1 appear to be free from this bug.) --- src/compiler/GF/Command/Abstract.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler/GF/Command/Abstract.hs') diff --git a/src/compiler/GF/Command/Abstract.hs b/src/compiler/GF/Command/Abstract.hs index 1f7c4014e..5469f12ac 100644 --- a/src/compiler/GF/Command/Abstract.hs +++ b/src/compiler/GF/Command/Abstract.hs @@ -1,7 +1,7 @@ module GF.Command.Abstract where -import PGF.CId -import PGF.Data +import PGF.CId(CId,mkCId) +import PGF.Data(Expr) type Ident = String -- cgit v1.2.3