diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2018-07-05 08:50:56 -0400 |
---|---|---|
committer | Ryan Scott <ryan.gl.scott@gmail.com> | 2018-07-05 09:51:15 -0400 |
commit | 57733978482dc1e566a7d4cd90d4cbbd1315e3b2 (patch) | |
tree | b0d8cc06140c6eaa87abdfa4165a5a2ee7c48c51 /testsuite/tests/th/T15324.hs | |
parent | 927518668111584a06f12bd9eb1b0910a38acf4f (diff) | |
download | haskell-57733978482dc1e566a7d4cd90d4cbbd1315e3b2.tar.gz |
Parenthesize rank-n contexts in Convert
Summary: A simple oversight.
Test Plan: make test TEST=T15324
Reviewers: goldfire, bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie, carter
GHC Trac Issues: #15324
Differential Revision: https://phabricator.haskell.org/D4910
Diffstat (limited to 'testsuite/tests/th/T15324.hs')
-rw-r--r-- | testsuite/tests/th/T15324.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/th/T15324.hs b/testsuite/tests/th/T15324.hs new file mode 100644 index 0000000000..ea124f4dc7 --- /dev/null +++ b/testsuite/tests/th/T15324.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE RankNTypes #-} +{-# LANGUAGE TemplateHaskell #-} +module T15324 where + +$([d| f :: forall a. (Show a => a) -> a + f _ = undefined + |]) |