[commit: ghc] master: Fix typo in TcErrors.hs (13131ce)

git at git.haskell.org git at git.haskell.org
Thu Apr 13 16:24:03 UTC 2017


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

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

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

commit 13131ce9165b4e5e5193dc381f6f3d021e53792f
Author: Matthías Páll Gissurarson <mpg at mpg.is>
Date:   Fri Mar 17 01:46:58 2017 +0100

    Fix typo in TcErrors.hs
    
    This fixes a very simple typo in TcErrors.hs. I hope this is small
    enough in scope to be accepted through GitHub.


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

13131ce9165b4e5e5193dc381f6f3d021e53792f
 compiler/typecheck/TcErrors.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/typecheck/TcErrors.hs b/compiler/typecheck/TcErrors.hs
index adbf3b2..eacdbb6 100644
--- a/compiler/typecheck/TcErrors.hs
+++ b/compiler/typecheck/TcErrors.hs
@@ -430,7 +430,7 @@ they can give rise to improvement.  Example (Trac #10100):
     instance Add Zero b b
     instance Add a b ab => Add (Succ a) b (Succ ab)
 The context (Add a b ab) for the instance is clearly unused in terms
-of evidence, since the dictionary has no feilds.  But it is still
+of evidence, since the dictionary has no fields.  But it is still
 needed!  With the context, a wanted constraint
    Add (Succ Zero) beta (Succ Zero)
 we will reduce to (Add Zero beta Zero), and thence we get beta := Zero.



More information about the ghc-commits mailing list