rename: Don't require 'fail' in non-monadic contexts
authorBen Gamari <ben@smart-cactus.org>
Thu, 22 Dec 2016 18:55:30 +0000 (13:55 -0500)
committerBen Gamari <ben@smart-cactus.org>
Fri, 23 Dec 2016 20:01:56 +0000 (15:01 -0500)
commit8f89e76389569b73ce0d7550302641bbea438dfc
tree0b4f9ba882d690d44131c90cb744c27e4a510069
parentf95e6697250ad641efb167ae3cff65eaa5e96d07
rename: Don't require 'fail' in non-monadic contexts

Fixes #11216.
compiler/hsSyn/HsExpr.hs
compiler/rename/RnExpr.hs
testsuite/tests/rebindable/T11216A.hs [new file with mode: 0644]
testsuite/tests/rebindable/all.T