aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Symbols.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 18:14:25 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 23:13:51 +0200
commit74957b3b20aae3a0a2c7a41000c5a1424586f412 (patch)
treeeb26dcb0cf2cf992ebf8d2eb763d03ff6da8634d /src/dotty/tools/dotc/core/Symbols.scala
parentd0804782ba6956b1f906e646d14e3547adcaa23a (diff)
downloaddotty-74957b3b20aae3a0a2c7a41000c5a1424586f412.tar.gz
dotty-74957b3b20aae3a0a2c7a41000c5a1424586f412.tar.bz2
dotty-74957b3b20aae3a0a2c7a41000c5a1424586f412.zip
Ensure spaces after `if` in Dotty source.
Diffstat (limited to 'src/dotty/tools/dotc/core/Symbols.scala')
-rw-r--r--src/dotty/tools/dotc/core/Symbols.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Symbols.scala b/src/dotty/tools/dotc/core/Symbols.scala
index e573de664..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{