From c544ef31823c7d2c28c28cae408cca5d71e6978d Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 21 May 2008 13:10:54 +0000 Subject: use ByteString internally in Ident, CId and Label --- src-3.0/GF/Devel/Compile/SourceToGF.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-3.0/GF/Devel/Compile/SourceToGF.hs') diff --git a/src-3.0/GF/Devel/Compile/SourceToGF.hs b/src-3.0/GF/Devel/Compile/SourceToGF.hs index a62179c18..3b7daa970 100644 --- a/src-3.0/GF/Devel/Compile/SourceToGF.hs +++ b/src-3.0/GF/Devel/Compile/SourceToGF.hs @@ -235,7 +235,7 @@ transCatDef x = case x of constyp = mkProd (cont ++ [cd, M.mkDecl lc]) lc consfund = (consId, absFun constyp) ---- (yes constyp) (yes G.EData)) return [catd,nilfund,consfund] - mkId x i = if isWildIdent x then (mkIdent "x" i) else x + mkId x i = if isWildIdent x then (identV "x" i) else x transFunDef :: FunDef -> Err ([Ident], G.Type) transFunDef x = case x of -- cgit v1.2.3