diff options
author | Dmitry Petrashko <dark@d-d.me> | 2015-04-10 00:26:16 +0200 |
---|---|---|
committer | Dmitry Petrashko <dark@d-d.me> | 2015-04-10 00:26:16 +0200 |
commit | 52d6ac3833c6daf888d48bcea06a98674243501d (patch) | |
tree | 8571b55f57df7cc9c8319749379ff5c5a2cae032 /src/dotty/tools/dotc/core/Symbols.scala | |
parent | 0c1797a870d5440917f17c36192f9b9050abe5f2 (diff) | |
parent | a16ab214fe7fa634c299529147f43e4967abc972 (diff) | |
download | dotty-52d6ac3833c6daf888d48bcea06a98674243501d.tar.gz dotty-52d6ac3833c6daf888d48bcea06a98674243501d.tar.bz2 dotty-52d6ac3833c6daf888d48bcea06a98674243501d.zip |
Merge pull request #469 from dotty-staging/stylecheck
Add stylechecking to test suite, fix style errors
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) |