
#10576: REPL returns list of all imported names when operator completion requested -------------------------------------+------------------------------------- Reporter: Geraldus | Owner: thomie Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.8.4 Resolution: | Keywords: Operating System: Unknown/Multiple | completions complete command Type of failure: Incorrect result | operator at runtime | Architecture: Blocked By: | Unknown/Multiple Related Tickets: #9996 | Test Case: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by Geraldus):
The problem comes from using the default `word_break_chars`
Oh, so I suppose potential solution is to check if prefix to be completed starts with operator symbol, and if the case do not use `wrapIdentCompleter` in `completeIdentifier`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10576#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler