Catch errors in pattern matching for unboxed tuples
authorsimonpj@microsoft.com <unknown>
Fri, 8 Sep 2006 09:52:17 +0000 (09:52 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 8 Sep 2006 09:52:17 +0000 (09:52 +0000)
commit4f2e93bc6a6f0a2963625d3220fff0a4f20d32c9
treeba489dbca4a03c9488ad026876129aea9026c9d0
parent5d675b1a99cfa0a2a083a5e0a0c8938d99d426bf
Catch errors in pattern matching for unboxed tuples

When fiddling with pattern-matching for unboxed tuples, I'd messed up
the slightly-tricky tests for pattern matching on unboxed tuples, notably
case (# foo, bar #) of r -> ...r...

The fix is in TcPat, and test are tcfail115, tcfail120, and tc209
compiler/typecheck/TcPat.lhs
compiler/typecheck/TcType.lhs