patch applied (ghc): Fix bug in cast optimisation; fixes Trac #995

Simon Peyton Jones <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.all
Message-ID <20070103153723.GA9601__25970.9317856052$1167838793$gmane$org@cvs.haskell.org>
Wed Jan  3 07:35:30 PST 2007  [email protected]
  * Fix bug in cast optimisation; fixes Trac #995
  
  There was a plain bug in the cast-optimiation code -- a call to
  splitCoercionKind_maybe instead of coercionKind!  Result was that
  we missed useful opportunities to move casts around.  Trac #995
  is an example, but I bet there are more.
  

    M ./compiler/simplCore/Simplify.lhs -13 +14
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.