aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/SI-4012-b.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 16:58:43 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 16:58:43 +0200
commit4d1c9e2212d8d462ad8664904491c378766a65fa (patch)
treef43b9c51d669a92be7cab4e5d70b10b3c90b7085 /tests/untried/pos/SI-4012-b.scala
parentafa630a78b4f2cd9bd799b5a0199b99548f18aaa (diff)
downloaddotty-4d1c9e2212d8d462ad8664904491c378766a65fa.tar.gz
dotty-4d1c9e2212d8d462ad8664904491c378766a65fa.tar.bz2
dotty-4d1c9e2212d8d462ad8664904491c378766a65fa.zip
Remove trailing spaces in Dotty tests.
Diffstat (limited to 'tests/untried/pos/SI-4012-b.scala')
-rw-r--r--tests/untried/pos/SI-4012-b.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/untried/pos/SI-4012-b.scala b/tests/untried/pos/SI-4012-b.scala
index 6bc859276..102019463 100644
--- a/tests/untried/pos/SI-4012-b.scala
+++ b/tests/untried/pos/SI-4012-b.scala
@@ -3,13 +3,13 @@ trait Super[@specialized(Int) A] {
}
object Sub extends Super[Int] {
- // it is expected that super[Super].superb crashes, since
+ // it is expected that super[Super].superb crashes, since
// specialization does parent class rewiring, and the super
// of Sub becomes Super$mcII$sp and not Super. But I consider
// this normal behavior -- if you want, I can modify duplicatiors
// to make this work, but I consider it's best to keep this
// let the user know Super is not the superclass anymore.
// super[Super].superb - Vlad
- super.superb // okay
+ super.superb // okay
override def superb: Int = super.superb // okay
}