summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2017-07-27 14:46:38 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2017-07-28 09:31:55 +0100
commitaf6d225ffbeabbaffb68cdee4c377b0e361aad26 (patch)
treeb46982cf1a6972b7e6ea289f614649af85a3bcff /compiler
parent6b77914cd37b697354611bcd87897885c1e5b4a6 (diff)
downloadhaskell-af6d225ffbeabbaffb68cdee4c377b0e361aad26.tar.gz
Remove redundant constraint in context
Diffstat (limited to 'compiler')
-rw-r--r--compiler/hsSyn/HsLit.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/hsSyn/HsLit.hs b/compiler/hsSyn/HsLit.hs
index 1044f9bca6..31c7a02d07 100644
--- a/compiler/hsSyn/HsLit.hs
+++ b/compiler/hsSyn/HsLit.hs
@@ -101,7 +101,7 @@ data HsOverLit p
ol_rebindable :: PostRn p Bool, -- Note [ol_rebindable]
ol_witness :: HsExpr p, -- Note [Overloaded literal witnesses]
ol_type :: PostTc p Type }
-deriving instance (DataId p, DataId p) => Data (HsOverLit p)
+deriving instance (DataId p) => Data (HsOverLit p)
-- Note [Literal source text] in BasicTypes for SourceText fields in
-- the following