diff options
author | Bartosz Nitka <bnitka@fb.com> | 2015-11-30 08:44:27 -0800 |
---|---|---|
committer | Bartosz Nitka <bnitka@fb.com> | 2015-12-01 03:08:17 -0800 |
commit | 6dce643d1981f1ecba2b38f5932720385999244b (patch) | |
tree | 61ebbcb0ff4c6a0600164c86d737707807d83ffc | |
parent | 14d0f7f1221db758cd06a69f53803d9d0150164a (diff) | |
download | haskell-6dce643d1981f1ecba2b38f5932720385999244b.tar.gz |
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
-rw-r--r-- | compiler/typecheck/TcTyDecls.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/typecheck/TcTyDecls.hs b/compiler/typecheck/TcTyDecls.hs index 88b0df959a..73b3a0b4e5 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] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |