aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t8046.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/t8046.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/t8046.scala')
-rw-r--r--tests/untried/pos/t8046.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/untried/pos/t8046.scala b/tests/untried/pos/t8046.scala
index 304d70b6b..9beb0b9d1 100644
--- a/tests/untried/pos/t8046.scala
+++ b/tests/untried/pos/t8046.scala
@@ -2,13 +2,13 @@ trait One {
type Op[A]
type Alias[A] = Op[A]
}
-
+
trait Two extends One {
trait Op[A] extends (A => A)
-
+
// This compiles
class View1 extends Op[Int] { def apply(xs: Int) = xs }
-
+
// ??? base class View2 not found in basetypes of class View2
// ./a.scala:9: error: class View2 needs to be abstract, since \
// method apply in trait Function1 of type (v1: T1)R is not defined