summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Grammar/Lockfield.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/GF/Grammar/Lockfield.hs')
-rw-r--r--src/compiler/GF/Grammar/Lockfield.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/GF/Grammar/Lockfield.hs b/src/compiler/GF/Grammar/Lockfield.hs
index 5c2f5d0f0..53e58a3ad 100644
--- a/src/compiler/GF/Grammar/Lockfield.hs
+++ b/src/compiler/GF/Grammar/Lockfield.hs
@@ -20,9 +20,9 @@ import GF.Infra.Ident
import GF.Grammar.Grammar
import GF.Grammar.Macros
-import GF.Data.Operations
+import GF.Data.Operations(ErrorMonad,Err(..))
-lockRecType :: Ident -> Type -> Err Type
+lockRecType :: ErrorMonad m => Ident -> Type -> m Type
lockRecType c t@(RecType rs) =
let lab = lockLabel c in
return $ if elem lab (map fst rs) || elem (showIdent c) ["String","Int"]