We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 201d58e commit 4202e7fCopy full SHA for 4202e7f
compiler/src/dotty/tools/dotc/interactive/Interactive.scala
@@ -88,7 +88,7 @@ object Interactive {
88
def completions(prefix: Type, boundary: Symbol)(implicit ctx: Context): List[Symbol] = {
89
val boundaryCtx = ctx.withOwner(boundary)
90
prefix.memberDenots(completionsFilter, (name, buf) =>
91
- buf ++= prefix.member(name).altsWith(_.symbol.isAccessibleFrom(prefix)(boundaryCtx))
+ buf ++= prefix.member(name).altsWith(d => !d.isAbsent && d.symbol.isAccessibleFrom(prefix)(boundaryCtx))
92
).map(_.symbol).toList
93
}
94
0 commit comments