Skip to content

Commit

Permalink
Fix map access
Browse files Browse the repository at this point in the history
Co-authored-by: adpi2 <adrien.piquerez@gmail.com>
  • Loading branch information
iusildra and adpi2 committed Jul 14, 2023
1 parent ff276f4 commit 9ec2eb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private[debugadapter] final class SourceLookUpProvider(
private[internal] def allOrphanClasses: Iterable[ClassFile] =
classPathEntries.flatMap(_.orphanClassFiles)
private[internal] def classesByName(name: String): Seq[String] =
classSearch.find(_._1 == name).map(_._2).getOrElse(Seq.empty)
classSearch.get(name).getOrElse(Seq.empty)

private[internal] def getScalaSig(fqcn: String): Option[ScalaSig] = {
for {
Expand Down

0 comments on commit 9ec2eb1

Please sign in to comment.