summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T3899a.hs
diff options
context:
space:
mode:
authornineonine <mail4chemik@gmail.com>2019-06-23 22:44:37 -0700
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-07-02 16:18:44 -0400
commitcef80c0b9edca3d21b5c762f51dfbab4c5857d8a (patch)
tree4812abbe6695af023ed25587b0800649ba0254fe /testsuite/tests/th/T3899a.hs
parent0bed9647c5e6edbfcfed2d7dbd8d25fd8fd2b195 (diff)
downloadhaskell-cef80c0b9edca3d21b5c762f51dfbab4c5857d8a.tar.gz
Fix #15843 by extending Template Haskell AST for tuples to support sections
Diffstat (limited to 'testsuite/tests/th/T3899a.hs')
-rw-r--r--testsuite/tests/th/T3899a.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/th/T3899a.hs b/testsuite/tests/th/T3899a.hs
index 73ed534786..a63c17b0d3 100644
--- a/testsuite/tests/th/T3899a.hs
+++ b/testsuite/tests/th/T3899a.hs
@@ -12,4 +12,4 @@ nestedTuple n = do
xs <- replicateM n (newName "x")
return $ LamE [foldr (\v prev -> ParensP (ConP 'Cons [VarP v,prev]))
(ConP 'Nil []) xs]
- (TupE $ map VarE xs)
+ (TupE $ map (Just . VarE) xs)