[project @ 1999-03-15 15:11:03 by simonpj]
authorsimonpj <unknown>
Mon, 15 Mar 1999 15:11:11 +0000 (15:11 +0000)
committersimonpj <unknown>
Mon, 15 Mar 1999 15:11:11 +0000 (15:11 +0000)
commit42a51e933ba157f926d17404157e5fdc30890543
treefa889b5fc416c18acdd74915daae69d012cdedc9
parent1c52a20964c9ff9a7938f8f3e7fefafdd1199285
[project @ 1999-03-15 15:11:03 by simonpj]
Make clear in HsType whether a for-all is explicit
in the source program or not.  Implicit for-alls now
look like
HsForAllTy Nothing ctxt ty
while explicit ones look like
HsForAllTy (Just tvs) ctxt ty

Before this, the scope analysis stuff in RnSource was
actually wrong (not that anyone had noticed), but Alex Ferguson
did notice a bogus (sort-of-duplicate) error message on types
like
f :: Eq a => Int -> Int
which led me to spot the deeper problem.  Anyway, it's all
cool now.
ghc/compiler/hsSyn/HsTypes.lhs
ghc/compiler/parser/hsparser.y
ghc/compiler/parser/ttype.ugn
ghc/compiler/reader/RdrHsSyn.lhs
ghc/compiler/reader/ReadPrefix.lhs
ghc/compiler/rename/RnHsSyn.lhs
ghc/compiler/rename/RnSource.lhs
ghc/compiler/typecheck/TcMonoType.lhs