Mon Jan 30 05:12:31 PST 2006 [EMAIL PROTECTED]
* Add mkHsCoerce to avoid junk in typechecked code
Avoiding identity coercions is a Good Thing generally, but
it turns out that the desugarer has trouble recognising
'otherwise' and 'True' guards if they are wrapped in an
identity coercion; and that leads to bogus overlap warnings.
M ./ghc/compiler/deSugar/DsGRHSs.lhs -3 +7
M ./ghc/compiler/hsSyn/HsUtils.lhs +4
M ./ghc/compiler/typecheck/TcBinds.lhs -2 +2
M ./ghc/compiler/typecheck/TcExpr.lhs -9 +10
M ./ghc/compiler/typecheck/TcMatches.lhs -2 +2
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc