summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2016-12-18 02:55:04 -0800
committerEdward Z. Yang <ezyang@cs.stanford.edu>2016-12-18 02:55:04 -0800
commit630cfc382084c48c8df84a2ac59c76710ae7e0e8 (patch)
tree20e4d3685caeec97f2cf2fe681d5a7962267ce0a
parent25b70a29f6236b591252bf5a361a1547f0ffee51 (diff)
downloadhaskell-630cfc382084c48c8df84a2ac59c76710ae7e0e8.tar.gz
Fix Haddock comment typo.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
-rw-r--r--compiler/typecheck/FamInst.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/typecheck/FamInst.hs b/compiler/typecheck/FamInst.hs
index 747100fb49..0c1bdef29c 100644
--- a/compiler/typecheck/FamInst.hs
+++ b/compiler/typecheck/FamInst.hs
@@ -257,7 +257,7 @@ checkFamInstConsistency famInstMods directlyImpMods
; let (check_now, check_later)
-- NB: == this_mod only holds if there's an hs-boot file;
-- otherwise we cannot possible see instances for families
- -- *defined by the module we are compiling* in imports.
+ -- defined by the module we are compiling in imports.
= partition ((/= this_mod) . nameModule . fi_fam)
(famInstEnvElts env1)
; mapM_ (checkForConflicts (emptyFamInstEnv, env2)) check_now