Fix typechecking of pattern bindings that have type signatures (Trac #7268)
Pattern bindings are jolly tricky to typecheck, especially if there are also type signatures involved. Trac #7268 pointed out that I'd got it wrong; this fixes it. See Note [Typing patterns in pattern bindings] in TcPat.
Please register or sign in to comment