Fail (rather than addErr) if you use a bogus field in a pattern
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 28 Nov 2013 17:56:53 +0000 (17:56 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 29 Nov 2013 07:31:40 +0000 (07:31 +0000)
commit59e17d6ef71c29f4e114e55be83f1b3722f04139
treec4ce5e04a686dff34a77714d1680151ed675d662
parentf3a841612e754536d635e8c970fb67453fb57cab
Fail (rather than addErr) if you use a bogus field in a pattern

This fixes Trac #8570
compiler/typecheck/TcPat.lhs