diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2021-02-03 04:48:18 +0100 |
---|---|---|
committer | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2021-02-06 16:13:47 +0100 |
commit | 441700f708995e261e086071385592f7654e4adb (patch) | |
tree | aabe03314669ab498046f840dfc5cd5e89f2645a /testsuite/tests | |
parent | 3da472f0e78fe5f1068be0cc2b1c0762532da9f9 (diff) | |
download | haskell-wip/ppr-arr.tar.gz |
Fix pretty-printing of invisible arguments for FUN 'Many (#19310)wip/ppr-arr
Diffstat (limited to 'testsuite/tests')
-rw-r--r-- | testsuite/tests/ghci/scripts/T19310.script | 4 | ||||
-rw-r--r-- | testsuite/tests/ghci/scripts/T19310.stdout | 3 | ||||
-rwxr-xr-x | testsuite/tests/ghci/scripts/all.T | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T19310.script b/testsuite/tests/ghci/scripts/T19310.script new file mode 100644 index 0000000000..64a72c2e50 --- /dev/null +++ b/testsuite/tests/ghci/scripts/T19310.script @@ -0,0 +1,4 @@ +:m GHC.Exts GHC.Types +:set -fprint-explicit-kinds -XDataKinds -XKindSignatures +type T = FUN 'Many :: Type -> Type -> Type +:i T diff --git a/testsuite/tests/ghci/scripts/T19310.stdout b/testsuite/tests/ghci/scripts/T19310.stdout new file mode 100644 index 0000000000..4e7ad631fc --- /dev/null +++ b/testsuite/tests/ghci/scripts/T19310.stdout @@ -0,0 +1,3 @@ +type T :: * -> * -> * +type T = (->) @{'LiftedRep} @{'LiftedRep} :: * -> * -> * + -- Defined at <interactive>:3:1 diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T index a85fe27fd3..13b2b73b6c 100755 --- a/testsuite/tests/ghci/scripts/all.T +++ b/testsuite/tests/ghci/scripts/all.T @@ -329,4 +329,5 @@ test('T18828', normal, ghci_script, ['T18828.script']) test('T19197', normal, ghci_script, ['T19197.script']) test('T19158', normal, ghci_script, ['T19158.script']) test('T19279', normal, ghci_script, ['T19279.script']) +test('T19310', normal, ghci_script, ['T19310.script']) |