summaryrefslogtreecommitdiff
path: root/test-nsc/files/pos/traits.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2005-12-14 15:53:49 +0000
committerMartin Odersky <odersky@gmail.com>2005-12-14 15:53:49 +0000
commit0a27645cd58bde3b7df320338727ecf8b21f5964 (patch)
treebc15cea75d9eedce2bb85cb9555574ed785fabd8 /test-nsc/files/pos/traits.scala
parentbf6dcc4e923a6e10598679108ae635d739419519 (diff)
downloadscala-0a27645cd58bde3b7df320338727ecf8b21f5964.tar.gz
scala-0a27645cd58bde3b7df320338727ecf8b21f5964.tar.bz2
scala-0a27645cd58bde3b7df320338727ecf8b21f5964.zip
Diffstat (limited to 'test-nsc/files/pos/traits.scala')
-rwxr-xr-xtest-nsc/files/pos/traits.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/test-nsc/files/pos/traits.scala b/test-nsc/files/pos/traits.scala
index 605395c5a6..5fdf4b342e 100755
--- a/test-nsc/files/pos/traits.scala
+++ b/test-nsc/files/pos/traits.scala
@@ -19,11 +19,10 @@ object Test {
}
trait BorderedColoredShape extends Shape with Bordered with Colored {
override def equals(other: Any) = other match {
- case that: BorderedColoredShape => (
+ case that: BorderedColoredShape =>
super.equals(that) &&
super[Bordered].equals(that) &&
super[Colored].equals(that)
- )
case _ => false
}
}