summaryrefslogtreecommitdiff
path: root/test/files/neg/abstract-inaccessible.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/abstract-inaccessible.scala')
-rw-r--r--test/files/neg/abstract-inaccessible.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/abstract-inaccessible.scala b/test/files/neg/abstract-inaccessible.scala
index 3c80f30522..02b458016f 100644
--- a/test/files/neg/abstract-inaccessible.scala
+++ b/test/files/neg/abstract-inaccessible.scala
@@ -4,6 +4,6 @@ package foo {
trait YourTrait {
def implementMe(f: Int => (String, Bippy)): Unit
def overrideMe[T <: Bippy](x: T): T = x
- def overrideMeAlso(x: Map[Int, Set[Bippy]]) = 5
+ def overrideMeAlso(x: Map[Int, Set[Bippy]]) = x.keys.head
}
}