[commit: ghc] master: Remove redundant constraint in context (af6d225)

git at git.haskell.org git at git.haskell.org
Fri Jul 28 08:56:28 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/af6d225ffbeabbaffb68cdee4c377b0e361aad26/ghc

>---------------------------------------------------------------

commit af6d225ffbeabbaffb68cdee4c377b0e361aad26
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Thu Jul 27 14:46:38 2017 +0100

    Remove redundant constraint in context


>---------------------------------------------------------------

af6d225ffbeabbaffb68cdee4c377b0e361aad26
 compiler/hsSyn/HsLit.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/hsSyn/HsLit.hs b/compiler/hsSyn/HsLit.hs
index 1044f9b..31c7a02 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



More information about the ghc-commits mailing list