Desugar bang patterns correctly (fixes Trac #7649)
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 13 Feb 2013 17:42:18 +0000 (17:42 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 13 Feb 2013 17:42:18 +0000 (17:42 +0000)
commit44302272b568bc86f0e62579f6707e6e9ae8e4ab
tree6accd73510c03f02c8a48870c78d222f480045e8
parent9162d159a62d19d4b371b7348eb1b524001fddcd
Desugar bang patterns correctly (fixes Trac #7649)

We were discarding a bang around a view pattern, which is
utterly wrong
compiler/deSugar/Match.lhs