summaryrefslogtreecommitdiff
path: root/compiler/rename/RnSplice.lhs
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2014-11-27 22:08:32 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2014-11-27 22:11:56 +0000
commit65cae368e2e5fdc537f616ff98a5cffc2e6071e3 (patch)
tree6a8dca24b13fd1fbf04df38c27064c11de756ba8 /compiler/rename/RnSplice.lhs
parent73e5e2f8bade2d8b2b1ecae958fe12d0b24591ef (diff)
downloadhaskell-65cae368e2e5fdc537f616ff98a5cffc2e6071e3.tar.gz
compiler: add new modules pulling in FunFlags
And also sync type signature under '#ifndef GHCI' Tested by setting GhcWithInterpreter = NO Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'compiler/rename/RnSplice.lhs')
-rw-r--r--compiler/rename/RnSplice.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rename/RnSplice.lhs b/compiler/rename/RnSplice.lhs
index 8918e398f4..b0c81b0a92 100644
--- a/compiler/rename/RnSplice.lhs
+++ b/compiler/rename/RnSplice.lhs
@@ -54,7 +54,7 @@ rnSpliceType e _ = failTH e "Template Haskell type splice"
rnSpliceExpr :: Bool -> HsSplice RdrName -> RnM (HsExpr Name, FreeVars)
rnSpliceExpr _ e = failTH e "Template Haskell splice"
-rnSplicePat :: HsSplice RdrName -> RnM (Pat Name, FreeVars)
+rnSplicePat :: HsSplice RdrName -> RnM (Either (Pat RdrName) (Pat Name), FreeVars)
rnSplicePat e = failTH e "Template Haskell pattern splice"
rnSpliceDecl :: SpliceDecl RdrName -> RnM (SpliceDecl Name, FreeVars)