[commit: ghc] master: Fix grammar and typo in TcTyDecls (6dce643)

git at git.haskell.org git at git.haskell.org
Tue Dec 1 11:15:47 UTC 2015


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

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

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

commit 6dce643d1981f1ecba2b38f5932720385999244b
Author: Bartosz Nitka <bnitka at fb.com>
Date:   Mon Nov 30 08:44:27 2015 -0800

    Fix grammar and typo in TcTyDecls
    
    Summary: It's just a docufix.
    
    Test Plan: just a docufix
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1550


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

6dce643d1981f1ecba2b38f5932720385999244b
 compiler/typecheck/TcTyDecls.hs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/compiler/typecheck/TcTyDecls.hs b/compiler/typecheck/TcTyDecls.hs
index 88b0df9..73b3a0b 100644
--- a/compiler/typecheck/TcTyDecls.hs
+++ b/compiler/typecheck/TcTyDecls.hs
@@ -996,9 +996,9 @@ like     sel :: T [a] -> a
 
 For naughty selectors we make a dummy binding
    sel = ()
-for naughty selectors, so that the later type-check will add them to the
-environment, and they'll be exported.  The function is never called, because
-the tyepchecker spots the sel_naughty field.
+so that the later type-check will add them to the environment, and they'll be
+exported.  The function is never called, because the typechecker spots the
+sel_naughty field.
 
 Note [GADT record selectors]
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the ghc-commits mailing list