[project @ 2001-03-01 17:06:53 by simonpj]
[ghc-hetmet.git] / ghc / compiler / rename / RnEnv.lhs
index 34a254e..5884c34 100644 (file)
@@ -762,6 +762,8 @@ in error messages.
 
 \begin{code}
 unQualInScope :: GlobalRdrEnv -> Name -> Bool
+-- True if 'f' is in scope, and has only one binding
+-- (i.e. false if A.f and B.f are both in scope as unqualified 'f')
 unQualInScope env
   = (`elemNameSet` unqual_names)
   where