
#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): My little investigation lead me to `completeQuotedWord` function, but I can't follow any further now because I can't find where it comes from: `completeCmd` [1] -> -> [2] -> `ghciCompleteWord` [3] -> [4] -> `completeExpression` [5] {{{ completeExpression = completeQuotedWord (Just '\\') "\"" listFiles completeIdentifier }}} [1]:https://github.com/ghc/ghc/blob/d20031d4c88b256cdae264cb05d9d850e973d956/ghc... [2]:https://github.com/ghc/ghc/blob/d20031d4c88b256cdae264cb05d9d850e973d956/ghc... [3]:https://github.com/ghc/ghc/blob/d20031d4c88b256cdae264cb05d9d850e973d956/ghc... [4]:https://github.com/ghc/ghc/blob/d20031d4c88b256cdae264cb05d9d850e973d956/ghc... [5]:https://github.com/ghc/ghc/blob/d20031d4c88b256cdae264cb05d9d850e973d956/ghc... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10576#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler