summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-10-08 10:58:25 +0100
committerSimon Marlow <marlowsd@gmail.com>2012-10-09 10:55:12 +0100
commit70765e86772010d09f42ba844fe9f73b17a711c7 (patch)
tree6afb50e93dbb03c311547c29c51edbfb76c30451 /compiler
parent2a534087e4606fbc0648429c3599bffb7e9c010a (diff)
downloadhaskell-70765e86772010d09f42ba844fe9f73b17a711c7.tar.gz
Fix comment
patch submitted by marcotmarcot@gmail.com
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rename/RnNames.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rename/RnNames.lhs b/compiler/rename/RnNames.lhs
index 0a20f59061..3409d77397 100644
--- a/compiler/rename/RnNames.lhs
+++ b/compiler/rename/RnNames.lhs
@@ -630,7 +630,7 @@ filterImports iface decl_spec (Just (want_hiding, import_items))
occ_env = mkOccEnv_C combine [ (nameOccName n, (n, a, Nothing))
| a <- all_avails, n <- availNames a]
where
- -- we know that (1) there are at most entries for one name, (2) their
+ -- we know that (1) there are at most 2 entries for one name, (2) their
-- first component is identical, (3) they are for tys/cls, and (4) one
-- entry has the name in its parent position (the other doesn't)
combine (name, AvailTC p1 subs1, Nothing)