aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2015-05-03 19:15:39 +0200
committerodersky <odersky@gmail.com>2015-05-03 19:15:39 +0200
commit2a85b43b6d6264bf2b2cf0a2f09a050be973b347 (patch)
tree29142707eaa82b6dc9809773deaebd61bf218efe /tests
parent8718d46194df369014d975e83a45215a5dfd88c9 (diff)
parent090a6a606f22ceb0b2800556f5d5de825a3941b8 (diff)
downloaddotty-2a85b43b6d6264bf2b2cf0a2f09a050be973b347.tar.gz
dotty-2a85b43b6d6264bf2b2cf0a2f09a050be973b347.tar.bz2
dotty-2a85b43b6d6264bf2b2cf0a2f09a050be973b347.zip
Merge pull request #526 from dotty-staging/fix/#522
Fix #522.
Diffstat (limited to 'tests')
-rw-r--r--tests/pos/extmethods.scala5
-rw-r--r--tests/pos/t6482.scala (renamed from tests/pending/pos/t6482.scala)0
-rw-r--r--tests/pos/t7022.scala (renamed from tests/pending/pos/t7022.scala)0
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/pos/extmethods.scala b/tests/pos/extmethods.scala
index 2d418cadc..3edfa2d75 100644
--- a/tests/pos/extmethods.scala
+++ b/tests/pos/extmethods.scala
@@ -5,3 +5,8 @@ class T[A, This <: That1[A]](val x: Int) extends AnyVal {
final def loop(x: This, cnt: Int): Int = loop(x, cnt + 1)
def const[B](): Boolean = return true
}
+
+class Foo[+A <: AnyRef](val xs: List[A]) extends AnyVal {
+ def baz[B >: A](x: B): List[B] = ???
+}
+
diff --git a/tests/pending/pos/t6482.scala b/tests/pos/t6482.scala
index 24ea38e51..24ea38e51 100644
--- a/tests/pending/pos/t6482.scala
+++ b/tests/pos/t6482.scala
diff --git a/tests/pending/pos/t7022.scala b/tests/pos/t7022.scala
index c86602664..c86602664 100644
--- a/tests/pending/pos/t7022.scala
+++ b/tests/pos/t7022.scala