diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2018-09-20 20:02:39 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2018-09-23 02:45:23 +0100 |
commit | 4bde71df9a32bf6f5ee7d44fbbf79523da4b0a9e (patch) | |
tree | a629d95f46f0e0c80279168f855b5ac4e36d07e5 /testsuite/tests/rename/should_fail/all.T | |
parent | cad5d0b69bc039b635a6eb0e5c9ed47d7c5a38ed (diff) | |
download | haskell-4bde71df9a32bf6f5ee7d44fbbf79523da4b0a9e.tar.gz |
Don't look up unnecessary return in LastStmt
This fixes Trac #15607. The general pattern is well
established (e.g. see the guard_op binding in rnStmt
of BodyStme), but we weren't using it for LastStmt.
Diffstat (limited to 'testsuite/tests/rename/should_fail/all.T')
-rw-r--r-- | testsuite/tests/rename/should_fail/all.T | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/all.T b/testsuite/tests/rename/should_fail/all.T index f8b950b563..182dc421fb 100644 --- a/testsuite/tests/rename/should_fail/all.T +++ b/testsuite/tests/rename/should_fail/all.T @@ -135,3 +135,4 @@ test('T15214', normal, compile_fail, ['']) test('T15539', normal, compile_fail, ['']) test('T15487', normal, multimod_compile_fail, ['T15487','-v0']) test('T15659', normal, compile_fail, ['']) +test('T15607', normal, compile_fail, ['']) |