Complete operators properly
authorArthur Fayzrakhmanov (Артур Файзрахманов) <heraldhoi@gmail.com>
Sun, 17 Jan 2016 18:27:12 +0000 (19:27 +0100)
committerBen Gamari <ben@smart-cactus.org>
Sun, 17 Jan 2016 22:40:42 +0000 (23:40 +0100)
commitb3eb8fad4c9d5aa293e197bfff7039d6fa112a54
tree32ba92be0948b5e105535a4247937231ae33372c
parentd1ce1aa9beed4d3ecd3a0324ae4c98625fbe8d33
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
30 files changed:
ghc/GHCi/UI.hs
libraries/base/Text/Read/Lex.hs
testsuite/tests/ghci/prog015/Level1.hs [new file with mode: 0644]
testsuite/tests/ghci/prog015/Level2/Level2.hs [new file with mode: 0644]
testsuite/tests/ghci/prog015/Makefile [new file with mode: 0644]
testsuite/tests/ghci/prog015/TopLevel.hs [new file with mode: 0644]
testsuite/tests/ghci/prog015/prog015.T [new file with mode: 0644]
testsuite/tests/ghci/prog015/prog015.script [new file with mode: 0644]
testsuite/tests/ghci/prog015/prog015.stdout [new file with mode: 0644]
testsuite/tests/ghci/prog016/Level1.hs [new file with mode: 0644]
testsuite/tests/ghci/prog016/Level2/Level2.hs [new file with mode: 0644]
testsuite/tests/ghci/prog016/Makefile [new file with mode: 0644]
testsuite/tests/ghci/prog016/TopLevel.hs [new file with mode: 0644]
testsuite/tests/ghci/prog016/prog016.T [new file with mode: 0644]
testsuite/tests/ghci/prog016/prog016.script [new file with mode: 0644]
testsuite/tests/ghci/prog016/prog016.stdout [new file with mode: 0644]
testsuite/tests/ghci/prog017/Level1.hs [new file with mode: 0644]
testsuite/tests/ghci/prog017/Level2/Level2.hs [new file with mode: 0644]
testsuite/tests/ghci/prog017/Makefile [new file with mode: 0644]
testsuite/tests/ghci/prog017/TopLevel.hs [new file with mode: 0644]
testsuite/tests/ghci/prog017/prog017.T [new file with mode: 0644]
testsuite/tests/ghci/prog017/prog017.script [new file with mode: 0644]
testsuite/tests/ghci/prog017/prog017.stdout [new file with mode: 0644]
testsuite/tests/ghci/scripts/T10576.hs [new file with mode: 0644]
testsuite/tests/ghci/scripts/T10576a.script [new file with mode: 0644]
testsuite/tests/ghci/scripts/T10576a.stdout [new file with mode: 0644]
testsuite/tests/ghci/scripts/T10576b.script [new file with mode: 0644]
testsuite/tests/ghci/scripts/T10576b.stdout [new file with mode: 0644]
testsuite/tests/ghci/scripts/all.T
testsuite/tests/ghci/should_fail/all.T