[project @ 2003-07-24 07:38:54 by simonpj]
authorsimonpj <unknown>
Thu, 24 Jul 2003 07:38:54 +0000 (07:38 +0000)
committersimonpj <unknown>
Thu, 24 Jul 2003 07:38:54 +0000 (07:38 +0000)
commitf6c31c0fbf77b1c46c508fa56214361671ccfd05
tree665927cdcd413f411860962ce80e40f277af18f9
parent5b7cf08b9536041724146221aaf8e04236e57cb4
[project @ 2003-07-24 07:38:54 by simonpj]
For GHCi, a recent simplification in TcRnDrive.tc_stmts turned out to
be bogus. Briefly, we were returning *monomorphic* values from a user
stmt (e.g. "let f x y = x>y") when we should wrap the *polymorphic* values.

See the comment with mk_return in tc_stmts.
ghc/compiler/typecheck/TcRnDriver.lhs