summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/prog017/prog017.T
diff options
context:
space:
mode:
authorArthur Fayzrakhmanov (Артур Файзрахманов) <heraldhoi@gmail.com>2016-01-17 19:27:12 +0100
committerBen Gamari <ben@smart-cactus.org>2016-01-17 23:40:42 +0100
commitb3eb8fad4c9d5aa293e197bfff7039d6fa112a54 (patch)
tree32ba92be0948b5e105535a4247937231ae33372c /testsuite/tests/ghci/prog017/prog017.T
parentd1ce1aa9beed4d3ecd3a0324ae4c98625fbe8d33 (diff)
downloadhaskell-b3eb8fad4c9d5aa293e197bfff7039d6fa112a54.tar.gz
Complete operators properly
Fix operator completions: list of suitable completions only rather than everything from imported modules. Signed-off-by: Arthur Fayzrakhmanov (Артур Файзрахманов) <heraldhoi@gmail.com> ghc: fix operator completions Reviewers: austin, hvr, thomie, bgamari Reviewed By: thomie, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1058 GHC Trac Issues: #10576
Diffstat (limited to 'testsuite/tests/ghci/prog017/prog017.T')
-rw-r--r--testsuite/tests/ghci/prog017/prog017.T2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/prog017/prog017.T b/testsuite/tests/ghci/prog017/prog017.T
new file mode 100644
index 0000000000..64e523b99f
--- /dev/null
+++ b/testsuite/tests/ghci/prog017/prog017.T
@@ -0,0 +1,2 @@
+# testcase for operator completions, e.g. `:complete repl ">>"`
+test('prog017', normal, ghci_script, ['prog017.script'])