File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
repl/scala/tools/nsc/interpreter
repl-frontend/scala/tools/nsc/interpreter/jline Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ class Completion(delegate: shell.Completion) extends shell.Completion with Compl
350
350
}
351
351
352
352
val parsedLineWord = parsedLine.word()
353
- result.candidates.filter(c => c .name == parsedLineWord || c.alias.fold( false )(a => a == parsedLineWord) ) match {
353
+ result.candidates.filter(_ .name == parsedLineWord) match {
354
354
case Nil =>
355
355
case exacts =>
356
356
val declStrings = exacts.map(_.declString()).filterNot(_ == " " )
Original file line number Diff line number Diff line change @@ -336,7 +336,6 @@ case class CompletionCandidate(
336
336
isDeprecated : Boolean = false ,
337
337
isUniversal : Boolean = false ,
338
338
declString : () => String = () => " " ,
339
- alias : Option [String ] = None
340
339
)
341
340
object CompletionCandidate {
342
341
sealed trait Arity
You can’t perform that action at this time.
0 commit comments