File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
compiler/src/dotty/tools/dotc/interactive Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,6 @@ object Interactive {
105
105
buf ++= prefix.member(name).altsWith{ d =>
106
106
! d.isAbsent &&
107
107
! d.is(Synthetic ) && ! d.is(Artifact ) &&
108
- ! d.is(ModuleClass ) &&
109
108
d.symbol.isAccessibleFrom(prefix)(boundaryCtx)
110
109
}
111
110
).map(_.symbol).toList
@@ -116,7 +115,7 @@ object Interactive {
116
115
/** Filter for names that should appear when looking for completions. */
117
116
private [this ] object completionsFilter extends NameFilter {
118
117
def apply (pre : Type , name : Name )(implicit ctx : Context ): Boolean =
119
- ! name.isConstructorName && name.is( SimpleNameKind )
118
+ ! name.isConstructorName && name.toTermName.info.kind == SimpleNameKind
120
119
}
121
120
122
121
/** Find named trees with a non-empty position whose symbol match `sym` in `trees`.
You can’t perform that action at this time.
0 commit comments