[GHC] #5475: Unthrown exceptions
GHC
cvs-ghc at haskell.org
Wed Nov 9 23:02:22 CET 2011
#5475: Unthrown exceptions
----------------------------------+-----------------------------------------
Reporter: daniel.is.fischer | Owner: simonpj
Type: bug | Status: new
Priority: high | Milestone: 7.4.1
Component: Compiler | Version: 7.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
----------------------------------+-----------------------------------------
Comment(by simonpj@…):
commit b8abb31f649f0b3eeb691f92a8310b73c520658e
{{{
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Wed Nov 9 21:56:50 2011 +0000
Fix Trac #5475: another bug in exprArity
As usual it was to do with the handling of bottoms,
but this time it wasn't terribly subtle; I was using
andArityType (which is designed for case branches) as
a cheap short cut for the arity trimming needed with
a cast. That did the Wrong Thing for bottoming
expressions. Sigh.
compiler/coreSyn/CoreArity.lhs | 27 ++++++++++++++++-----------
compiler/simplCore/SimplUtils.lhs | 2 +-
2 files changed, 17 insertions(+), 12 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5475#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list