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.
2 parents ac51f06 + ed7aec8 commit ef55ec0Copy full SHA for ef55ec0
compiler/src/dotty/tools/dotc/typer/Namer.scala
@@ -537,7 +537,7 @@ class Namer { typer: Typer =>
537
case Thicket(trees) => // companion object always expands to thickets
538
trees.map {
539
case mcls @ TypeDef(name, impl: Template) if valid(mcls) =>
540
- moduleClsDef.get(name) match {
+ (moduleClsDef.get(name): @unchecked) match {
541
case Some((stat1, mcls1@TypeDef(_, impl1: Template))) =>
542
mergeIfSynthetic(stat, mcls, stat1, mcls1)
543
mergeIfSynthetic(stat1, mcls1, stat, mcls)
0 commit comments