diff options
author | Michael Sloan <mgsloan@gmail.com> | 2018-07-12 10:05:41 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-07-12 11:40:18 -0400 |
commit | 234093cf1562d032b38382a5cc08be8dd71c4fe3 (patch) | |
tree | 44aef0a8e5dcdfa8a5364a1cf8891e4278fe52e3 /testsuite/tests/th/all.T | |
parent | c4d983412dc8128ac85d3bce0c8e91718af38ed2 (diff) | |
download | haskell-234093cf1562d032b38382a5cc08be8dd71c4fe3.tar.gz |
Fix handling of ApplicativeDo in TH AST quotes
See https://ghc.haskell.org/trac/ghc/ticket/14471
Also fixes a parenthesization bug in pprStmt when ret_stripped is True
Test Plan: tests added to testsuite
Trac issues: #14471
Reviewers: goldfire, bgamari
Reviewed By: goldfire
Subscribers: rwbarton, thomie, carter
Differential Revision: https://phabricator.haskell.org/D4912
Diffstat (limited to 'testsuite/tests/th/all.T')
-rw-r--r-- | testsuite/tests/th/all.T | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/th/all.T b/testsuite/tests/th/all.T index e147491d7c..d55d4150cb 100644 --- a/testsuite/tests/th/all.T +++ b/testsuite/tests/th/all.T @@ -420,3 +420,5 @@ test('T15324', normal, compile, ['-v0 -ddump-splices -dsuppress-uniques']) test('T15331', normal, compile, ['-v0 -ddump-splices -dsuppress-uniques']) # Note: T9693 should be only_ways(['ghci']) once it's fixed. test('T9693', expect_broken(9693), ghci_script, ['T9693.script']) +test('T14471', normal, compile, ['']) +test('TH_rebindableAdo', normal, compile, ['']) |