File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
presentation-compiler/src/main/dotty/tools/pc Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import scala.util.control.NonFatal
5
5
6
6
import dotty .tools .dotc .core .Contexts .*
7
7
import dotty .tools .dotc .core .Flags .*
8
+ import dotty .tools .dotc .core .NameOps .moduleClassName
8
9
import dotty .tools .dotc .core .Names .*
9
10
import dotty .tools .dotc .core .Symbols .*
10
11
import dotty .tools .dotc .core .Types .*
@@ -170,7 +171,11 @@ object IndexedContext:
170
171
initial ++ fromPackageObjects
171
172
172
173
def fromImport (site : Type , name : Name )(using Context ): List [Symbol ] =
173
- List (site.member(name.toTypeName), site.member(name.toTermName))
174
+ List (
175
+ site.member(name.toTypeName),
176
+ site.member(name.toTermName),
177
+ site.member(name.moduleClassName),
178
+ )
174
179
.flatMap(_.alternatives)
175
180
.map(_.symbol)
176
181
You can’t perform that action at this time.
0 commit comments