diff options
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 } } |