diff options
author | Martin Odersky <odersky@gmail.com> | 2005-12-14 15:53:49 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2005-12-14 15:53:49 +0000 |
commit | 0a27645cd58bde3b7df320338727ecf8b21f5964 (patch) | |
tree | bc15cea75d9eedce2bb85cb9555574ed785fabd8 /test-nsc/files/pos/traits.scala | |
parent | bf6dcc4e923a6e10598679108ae635d739419519 (diff) | |
download | scala-0a27645cd58bde3b7df320338727ecf8b21f5964.tar.gz scala-0a27645cd58bde3b7df320338727ecf8b21f5964.tar.bz2 scala-0a27645cd58bde3b7df320338727ecf8b21f5964.zip |
Diffstat (limited to 'test-nsc/files/pos/traits.scala')
-rwxr-xr-x | test-nsc/files/pos/traits.scala | 3 |
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 } } |