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 2741d0a commit 47c463dCopy full SHA for 47c463d
compiler/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -2207,7 +2207,9 @@ object SymDenotations {
2207
if !myCompanion.exists then
2208
ensureCompleted()
2209
myCompanion
2210
- override def registeredCompanion_=(c: Symbol) = { myCompanion = c }
+
2211
+ override def registeredCompanion_=(c: Symbol) =
2212
+ myCompanion = c
2213
2214
private var myNestingLevel = -1
2215
@@ -2457,6 +2459,7 @@ object SymDenotations {
2457
2459
!owner.isClass
2458
2460
|| owner.isRefinementClass
2461
|| owner.is(Scala2x)
2462
+ || denot.is(Synthetic)
2463
|| owner.unforcedDecls.contains(denot.name, denot.symbol)
2464
|| denot.isSelfSym
2465
|| denot.isLocalDummy)
0 commit comments