[project @ 2005-11-24 09:46:01 by simonpj]
authorsimonpj <unknown>
Thu, 24 Nov 2005 09:46:01 +0000 (09:46 +0000)
committersimonpj <unknown>
Thu, 24 Nov 2005 09:46:01 +0000 (09:46 +0000)
commitc76d8afbca85519fface96bd11009eccd959b93a
tree8cf102b646e4d548676ee9cc04ab1c50dd496139
parent7d96c987068abcda0ee316c098cde878efb81ca8
[project @ 2005-11-24 09:46:01 by simonpj]
A patch to the already-somewhat-delicate machinery that deals with
pattern-matching on unboxed tuples.  This patch deals with pattern
matches that can fail, e.g.
case f x of
  (# Just x, Nothing #) -> ...

The fix is in desugaring of HsCase (DsExpr.lhs).

The test is dsrun013
ghc/compiler/deSugar/DsExpr.lhs