aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/existentials-harmful.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 17:39:12 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 17:39:12 +0200
commitf63589838344e91f84621162d9e0a4cc2c532949 (patch)
tree33431f7cbca4509b306d4c04e44c44591c2f9b0b /tests/pending/pos/existentials-harmful.scala
parentd7c44086cc34eee7991753fc2ea284bdefed9670 (diff)
downloaddotty-f63589838344e91f84621162d9e0a4cc2c532949.tar.gz
dotty-f63589838344e91f84621162d9e0a4cc2c532949.tar.bz2
dotty-f63589838344e91f84621162d9e0a4cc2c532949.zip
Add spaces around + in tests.
Diffstat (limited to 'tests/pending/pos/existentials-harmful.scala')
-rw-r--r--tests/pending/pos/existentials-harmful.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pending/pos/existentials-harmful.scala b/tests/pending/pos/existentials-harmful.scala
index 8722852e8..91dbd4dfd 100644
--- a/tests/pending/pos/existentials-harmful.scala
+++ b/tests/pending/pos/existentials-harmful.scala
@@ -17,7 +17,7 @@ object ExistentialsConsideredHarmful {
// 1.
def carry[A <: Animal](box: TransportBox[A]): Unit = {
- println(box.animal.name+" got carried away")
+ println(box.animal.name +" got carried away")
}
val aBox =
@@ -37,7 +37,7 @@ object ExistentialsConsideredHarmful {
abstract class BoxCarrier[R <: Animal](box: TransportBox[R]) {
def speed: Int
- def talkToAnimal: Unit = println("The carrier says hello to"+box.animal.name)
+ def talkToAnimal: Unit = println("The carrier says hello to" + box.animal.name)
}
// 3.