Fix Trac #3382: desugaring of NPats
authorsimonpj@microsoft.com <unknown>
Mon, 20 Jul 2009 06:12:26 +0000 (06:12 +0000)
committersimonpj@microsoft.com <unknown>
Mon, 20 Jul 2009 06:12:26 +0000 (06:12 +0000)
commita62da487378d873399d2dedb85fc0d546fa911d8
treee853d17c7a0071c035d51daba47d6a9aa6b356a3
parent76c6727d14fe738f4460882739dd462686b008b9
Fix Trac #3382: desugaring of NPats

Max spotted that the short-cut rules for desugaring NPats (where
we compare against a literal) were wrong now that we have overloaded
strings.
compiler/deSugar/MatchLit.lhs