Open scabug opened 11 years ago
Imported From: https://issues.scala-lang.org/browse/SI-6919?orig=1 Reporter: @propensive Affected Versions: 2.10.0 See #7957
@retronym said: I tried to implement this as part of my recent REPL revamp. See the last commit https://github.com/scala/scala/compare/2.11.x...retronym:ticket/6919
Still needs quite a bit more finesse.
Should also backtick keywords, per linked ticket.
This is a very minor issue.
If we define the following in the REPL
and we type:
then "1 ?" is suggested as an option. If we type:
then this autocompletes to
which isn't valid, so ought to complete to
Interestingly,
will suggest all members of Foo correctly, though (for example),
appears to search the global namespace, offering suggestions such as classOf, clone, com and collection.