diff options
Diffstat (limited to 'src/dotty/tools/dotc/core/Symbols.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Symbols.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/Symbols.scala b/src/dotty/tools/dotc/core/Symbols.scala index c655f1c52..dab84bb5f 100644 --- a/src/dotty/tools/dotc/core/Symbols.scala +++ b/src/dotty/tools/dotc/core/Symbols.scala @@ -162,7 +162,7 @@ trait Symbols { this: Context => privateWithin, coord, assocFile) def synthesizeCompanionMethod(name: Name, target: SymDenotation, owner: SymDenotation)(implicit ctx: Context) = - if(owner.exists && target.exists && !owner.isAbsent && !target.isAbsent) { + if (owner.exists && target.exists && !owner.isAbsent && !target.isAbsent) { val existing = owner.unforcedDecls.lookup(name) existing.orElse{ @@ -472,7 +472,7 @@ object Symbols { override def toString: String = if (lastDenot == null) s"Naked$prefixString#$id" - else lastDenot.toString// +"#"+id // !!! DEBUG + else lastDenot.toString// + "#" + id // !!! DEBUG def toText(printer: Printer): Text = printer.toText(this) |