Make rebindable if-then-else a little more permissive
authorsimonpj@microsoft.com <unknown>
Thu, 2 Dec 2010 12:25:40 +0000 (12:25 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 2 Dec 2010 12:25:40 +0000 (12:25 +0000)
commit0c1a685f5727c8516ec3f06806bc3b0ae0be2370
tree64ca93274b1faf5aa8d3bd29d63afe29dda322da
parentb9117bfdfc1c22ed594f33cdae5bdda5813b78a3
Make rebindable if-then-else a little more permissive

See Note [Rebindable syntax for if].  Fixes Trac #4798.
Thanks to Nils Schweinsberg <mail@n-sch.de>
compiler/typecheck/TcExpr.lhs