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 53a6098 commit b848c57Copy full SHA for b848c57
compiler/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -2205,7 +2205,7 @@ object SymDenotations {
2205
2206
if (symbol `eq` defn.ScalaPackageClass) {
2207
val denots = super.computeNPMembersNamed(name)
2208
- if (denots.exists) denots
+ if (denots.exists || name == nme.CONSTRUCTOR) denots
2209
else recur(packageObjs, NoDenotation)
2210
}
2211
0 commit comments