diff options
author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2016-01-19 14:56:59 -0500 |
---|---|---|
committer | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2016-01-19 14:57:43 -0500 |
commit | 952eda2ec98e6fde27d25a8c6f398674062e398e (patch) | |
tree | 705e03cda003dd6d423bac058d5e58b15640064a /testsuite/tests | |
parent | 713aa90d3c4fde18d58c321520611892ed426d38 (diff) | |
download | haskell-952eda2ec98e6fde27d25a8c6f398674062e398e.tar.gz |
Fix IfaceType generation for TyCons without TyVars
- This is only used for printing purposes (in :browse etc.).
- Fixes #11266.
Reviewers: goldfire, bgamari, austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1799
GHC Trac Issues: #11266
Diffstat (limited to 'testsuite/tests')
-rw-r--r-- | testsuite/tests/ghci/scripts/T11266.script | 2 | ||||
-rwxr-xr-x | testsuite/tests/ghci/scripts/all.T | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T11266.script b/testsuite/tests/ghci/scripts/T11266.script new file mode 100644 index 0000000000..9b3df7670f --- /dev/null +++ b/testsuite/tests/ghci/scripts/T11266.script @@ -0,0 +1,2 @@ +:m + GHC.Prim +:browse GHC.Prim diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T index 7a6225c8f1..17bee5f56a 100755 --- a/testsuite/tests/ghci/scripts/all.T +++ b/testsuite/tests/ghci/scripts/all.T @@ -239,3 +239,4 @@ test('T10576a', expect_broken(10576), ghci_script, ['T10576a.script']) test('T10576b', expect_broken(10576), ghci_script, ['T10576b.script']) test('T11051a', normal, ghci_script, ['T11051a.script']) test('T11051b', normal, ghci_script, ['T11051b.script']) +test('T11266', check_stdout(lambda *args: 1), ghci_script, ['T11266.script']) |